It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Window functions and GROUP BY
Summary and Review
21. Exercise 2

Instruction

Good. How about this one?

Exercise

For each author show the:

  • AuthorId,
  • Number of books published by this author (name the column NumberOfBooks),
  • Rank of the author, based on the number of published books in descending order (name the column Ranking).