Question: These queries are for the Database: Bookstore which has two tables: Subject and Book Below is a snippet of the Book table Below is a

These queries are for the Database: Bookstore which has two tables: Subject and Book

These queries are for the Database: Bookstore which has two tables: Subject

Below is a snippet of the Book table

and Book Below is a snippet of the Book table Below is

Below is a snippet of the Subject table

a snippet of the Subject table Query 1: Display ISBN, Title, and

Query 1: Display ISBN, Title, and Subject_Code of books that have the same subject code as the book 'The Art of Walt Disney'. The output should be sorted by title from a->z. This query must be solved by using a subquery. No hard coded values are allowed in the statement except the book title 'The Art of Walt Disney'.

Query 2: Solve Query 1 again by using a table join.

Query 3: Update the Shelf_Location to KD-2222 for books of a Subject_Code that has the least number of books. For example, if ART and PHL subjects each contains only two books and all other subjects have three or more books, then the Shelf_Location of four books of ART and PHL should be updated. Hint: subquery

Bookstore Database Diagrams Tables System Tables ? FileTables ? External Tables dbo.Book ??dbo,Subject

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 Databases Questions!