Solved

Structure of the CUSTOMERS Table

Question 83

Multiple Choice

  Structure of the CUSTOMERS table    ​ Structure of the ORDERS table    Structure of the ORDERITEMS table    Structure of the BOOKS table -Which of the following SQL statements will display the title of the books ordered by customer# 1003?​ A)  ​SELECT title FROM customers NATURAL JOIN books WHERE customer# = 1003; B)  ​SELECT title FROM customers JOIN orders USING (customer#)  JOIN orderitems USING (order#) JOIN books USING (isbn)  WHERE customer# = 1003; C)  ​SELECT title FROM customers JOIN orders ON (customer#)  JOIN orderitems ON (order#) JOIN books ON (isbn)  WHERE customer# = 1003; D)  ​both a and b Structure of the CUSTOMERS table
  Structure of the CUSTOMERS table    ​ Structure of the ORDERS table    Structure of the ORDERITEMS table    Structure of the BOOKS table -Which of the following SQL statements will display the title of the books ordered by customer# 1003?​ A)  ​SELECT title FROM customers NATURAL JOIN books WHERE customer# = 1003; B)  ​SELECT title FROM customers JOIN orders USING (customer#)  JOIN orderitems USING (order#) JOIN books USING (isbn)  WHERE customer# = 1003; C)  ​SELECT title FROM customers JOIN orders ON (customer#)  JOIN orderitems ON (order#) JOIN books ON (isbn)  WHERE customer# = 1003; D)  ​both a and b
Structure of the ORDERS table
  Structure of the CUSTOMERS table    ​ Structure of the ORDERS table    Structure of the ORDERITEMS table    Structure of the BOOKS table -Which of the following SQL statements will display the title of the books ordered by customer# 1003?​ A)  ​SELECT title FROM customers NATURAL JOIN books WHERE customer# = 1003; B)  ​SELECT title FROM customers JOIN orders USING (customer#)  JOIN orderitems USING (order#) JOIN books USING (isbn)  WHERE customer# = 1003; C)  ​SELECT title FROM customers JOIN orders ON (customer#)  JOIN orderitems ON (order#) JOIN books ON (isbn)  WHERE customer# = 1003; D)  ​both a and b Structure of the ORDERITEMS table
  Structure of the CUSTOMERS table    ​ Structure of the ORDERS table    Structure of the ORDERITEMS table    Structure of the BOOKS table -Which of the following SQL statements will display the title of the books ordered by customer# 1003?​ A)  ​SELECT title FROM customers NATURAL JOIN books WHERE customer# = 1003; B)  ​SELECT title FROM customers JOIN orders USING (customer#)  JOIN orderitems USING (order#) JOIN books USING (isbn)  WHERE customer# = 1003; C)  ​SELECT title FROM customers JOIN orders ON (customer#)  JOIN orderitems ON (order#) JOIN books ON (isbn)  WHERE customer# = 1003; D)  ​both a and b Structure of the BOOKS table
-Which of the following SQL statements will display the title of the books ordered by customer# 1003?​


A) ​SELECT title
FROM customers NATURAL JOIN books
WHERE customer# = 1003;
B) ​SELECT title
FROM customers JOIN orders USING (customer#)
JOIN orderitems USING (order#) JOIN books USING (isbn)
WHERE customer# = 1003;
C) ​SELECT title
FROM customers JOIN orders ON (customer#)
JOIN orderitems ON (order#) JOIN books ON (isbn)
WHERE customer# = 1003;
D) ​both a and b

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents