Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write a query that returns the Subject attribute of all subjects for which no book has been written by any author. The results should

image text in transcribed

image text in transcribed

2. Write a query that returns the Subject" attribute of all subjects for which no book has been written by any author. The results should be sorted in ascending order. 3. Write a query that finds the ISBNs of all editions of books written by Agatha Christie. The results should be sorted in descending order. 4. Write a query that finds the first and last names of all authors who have written at least one children's/young adult book (subject: Children/YA) and at least one book of fiction (subject: Fiction"). The results should be sorted first in ascending order by first name and then in ascending order by last name. 3 5. Write a query that finds the IDs, first names, and last names of all authors who have written at least one book in every subject for which J. K. Rowling has written at least one book, including J. K. Rowling. The results should be sorted in ascending order by the author's last name, with ties being broken in favor of the larger ID. 2. Write a query that returns the Subject" attribute of all subjects for which no book has been written by any author. The results should be sorted in ascending order. 3. Write a query that finds the ISBNs of all editions of books written by Agatha Christie. The results should be sorted in descending order. 4. Write a query that finds the first and last names of all authors who have written at least one children's/young adult book (subject: Children/YA) and at least one book of fiction (subject: Fiction"). The results should be sorted first in ascending order by first name and then in ascending order by last name. 3 5. Write a query that finds the IDs, first names, and last names of all authors who have written at least one book in every subject for which J. K. Rowling has written at least one book, including J. K. Rowling. The results should be sorted in ascending order by the author's last name, with ties being broken in favor of the larger ID

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

=+ What would it look like? Who should deliver it?

Answered: 1 week ago