Solved

​ Structure of the ORDERS Table

Question 80

Multiple Choice

  ​ Structure of the ORDERS table    Structure of the CUSTOMERS table ​ -​Which of the following SQL statements will list the name of each customer stored in the CUSTOMERS table,and,if the customer has placed an order that is contained in the ORDERS table,the order# of any order each customer has placed? A)  SELECT lastname,firstname,order# FROM customers NATURAL JOIN orders WHERE orders.customer# IS NOT NULL; B)  SELECT lastname,firstname,order# FROM customers,orders WHERE orders.customer# (+) = customers.customer#; C)  SELECT lastname,firstname,order# FROM customers,orders WHERE orders.customer# = customers.customer# (+) ; D)  SELECT lastname,firstname,order# FROM customers NATURAL JOIN orders WHERE orders.customer# IS NULL;
Structure of the ORDERS table
  ​ Structure of the ORDERS table    Structure of the CUSTOMERS table ​ -​Which of the following SQL statements will list the name of each customer stored in the CUSTOMERS table,and,if the customer has placed an order that is contained in the ORDERS table,the order# of any order each customer has placed? A)  SELECT lastname,firstname,order# FROM customers NATURAL JOIN orders WHERE orders.customer# IS NOT NULL; B)  SELECT lastname,firstname,order# FROM customers,orders WHERE orders.customer# (+) = customers.customer#; C)  SELECT lastname,firstname,order# FROM customers,orders WHERE orders.customer# = customers.customer# (+) ; D)  SELECT lastname,firstname,order# FROM customers NATURAL JOIN orders WHERE orders.customer# IS NULL; Structure of the CUSTOMERS table

-​Which of the following SQL statements will list the name of each customer stored in the CUSTOMERS table,and,if the customer has placed an order that is contained in the ORDERS table,the order# of any order each customer has placed?


A) SELECT lastname,firstname,order#
FROM customers NATURAL JOIN orders
WHERE orders.customer# IS NOT NULL;
B) SELECT lastname,firstname,order#
FROM customers,orders
WHERE orders.customer# (+) = customers.customer#;
C) SELECT lastname,firstname,order#
FROM customers,orders
WHERE orders.customer# = customers.customer# (+) ;
D) SELECT lastname,firstname,order#
FROM customers NATURAL JOIN orders
WHERE orders.customer# IS NULL;

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