Instruction
Okay, let's start with something easy.
Exercise
Show the average distance driven for the following grouping combinations:
Year,Month, andDayYearandMonthYear- None (general average)
In the query result, show the following columns: Year, Month, Day, and AvgDistance.
Stuck? Here's a hint!
A natural candidate for this query is:
GROUP BY ROLLUP(Year, Month, Day)



