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!
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.