Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Window functions and GROUP BY
Summary and Review
22. Exercise 3

Instruction

Superb! Let's face the next question.

Exercise

For each year in which books were published, show the following:

  • the PublishYear
  • the number of books published that year (name the column PublishedThisYear)
  • the number of books published in the previous year (name the column PublishedPreviousYear)