Question: Let's say you have two SQL tables: authors and books. The authors dataset has 1 M + rows; here's the first six rows: table

Let's say you have two SQL tables: authors and books. The authors dataset has 1M+ rows; here's the first six rows:
\table[[Author_name,Book_name],[Author_1,book_1],[Author_2,book_2],[Author_3,book_3],[Author_4,books_4],[Author_5,books_5],[Author_6,books_6],[,],[Book_name,sold copies],[Book_1,1000],[Book_2,1500],[Book_3,34000],[Book_4,29000],[Book_5,40000],[Book_6,4400]]
Create an SQL query that shows the Top 3 authors who sold the most books in total.
Let's say you have two SQL tables: authors and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!