Question: Write a query to display the author ID and the number of books written by that author. Sort the results in descending order by number

Write a query to display the author ID and the number of books written by that author. Sort the results in descending order by number of books, then in ascending order by author ID (Figure P7.85). 

Figure P7.85 Number of Books Per Author AU ID 262 460 185 229 251 383 394 559 218 273 284 438 581 592 603

Figure P7.85 Number of Books Per Author AU ID 262 460 185 229 251 383 394 559 218 273 284 438 581 592 603 Books Written 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To display the author ID and the number of books written by that author sorted in descending orde... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Database Systems Design Implementation Questions!