Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
Window functions and GROUP BY
Summary and Review
22. Exercise 3


Superb! Let's face the next question.


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)