Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
When window functions are evaluated
21. Exercise 2


Good. How about this one?


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.