The dashboard shows order volume per customer instead of individual orders.
Write a query returning each user_id from orders together with the number of orders that user placed, named order_count.
user_id, order_countuser_idGROUP BY forms one group per distinct value of a column.
Aggregate functions like COUNT(*) are computed once per group.
No results yet
Run your code to check it against the examples, or submit to run every test.