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
b SELECT isbn FROM bookautho... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1803_60b8c1212a8b1_716717.pdf
180 KBs PDF File
1803_60b8c1212a8b1_716717.docx
120 KBs Word File
