Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
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)