Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
When window functions are evaluated
Summary
21. Exercise 2

Instruction

Good. How about this one?

Exercise

For each author show:

  • author_id,
  • the number of books published by this author (name the column number_of_books),
  • the rank of the author based on the number of published books in descending order.