Ellen wants to know how many copies of each book were sold. Write a SQL statement to

Question:

Ellen wants to know how many copies of each book were sold. Write a SQL statement to obtain the necessary information you think Ellen wants.

Ellen Novotny started an online bookstore in 2023. You are Ellen’s best friend and promised to help her. Ellen asked you to create a small database to track the information on books and authors. You created the following tables: Author, Book, and Author_ Book. The table Author_Book is a relationship table to link the Author table and Book table because of the many-to-many relationship between the two tables. That is, each author may write many books and each book may have multiple authors. In general, each customer can purchase many books in a single transaction. Also, copies of the same book can be sold to different customers. Once an order is processed, the books are shipped right away. Based on these tables you have (see below), help Ellen to extract the information she needs from the database.

image text in transcribed

image text in transcribed

image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Accounting Information Systems

ISBN: 9781266370373

4th Edition

Authors: Vernon Richardson, Chengyee Chang, Rod Smith

Question Posted: