Instruction
Well done! How about Question 3?
Exercise
Find the average distance driven for the following grouping combinations:
year,month, anddaycountryandcar_size
Show the following columns in the query result: year, month, day, country, car_size, and avg_distance.
Stuck? Here's a hint!
The best way to go about this query is to use:
GROUP BY GROUPING SETS ( (A, B, C), (A, B) )



