Loading…
The day table has one row per date. yr is 0 for 2011 and 1 for 2012.
Return two columns: year (2011 or 2012) and total_rentals (the sum of cnt). Order by year.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.