Question: Which of the following SQL statements lists all books written by the author of The Wok Way to Cook? a. SELECT title FROM books WHERE

Which of the following SQL statements lists all books written by the author of The Wok Way to Cook?
a. SELECT title FROM books

WHERE isbn IN (SELECT isbn FROM bookauthor
HAVING authorid IN 'THE WOK WAY TO COOK);

b. SELECT isbn FROM bookauthor

WHERE authorid IN (SELECT authorid FROM books
JOIN bookauthor USING (isbn)
WHERE title = 'THE WOK WAY TO COOK');

c. SELECT title FROM bookauthor

WHERE authorid IN (SELECT authorid FROM books
JOIN bookauthor USING (isbn)
WHERE title = 'THE WOK WAY TO COOK);

d. SELECT isbn FROM bookauthor

HAVING authorid = SELECT authorid FROM books
JOIN bookauthor USING (isbn)
WHERE title = 'THE WOK WAY TO COOK';

Step by Step Solution

3.55 Rating (176 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b SELECT isbn FROM bookautho... 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

Document Format (2 attachments)

PDF file Icon

1803_60b8c1212a8b1_716717.pdf

180 KBs PDF File

Word file Icon

1803_60b8c1212a8b1_716717.docx

120 KBs Word File

Students Have Also Explored These Related Oracle 12c SQL Questions!