1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to BigQuery

Connected

练习

Joins with aggregations

Joins in BigQuery are often combined with aggregations. For example, imagine you have a very long table like our orders table, which has many entries and can expand over time, and our products table, which has fewer entries.

In this exercise, you must count the number of orders per product.

说明

100 XP
  • Count the number of orders for each product_id in the ecomm_products dataset.