Solved

Contents of the CUSTOMERS Table​

Question 104

Multiple Choice

Contents of the CUSTOMERS table​
Contents of the CUSTOMERS table​    -​Based on the contents of the CUSTOMERS table,which of the following SQL statements will display the customer# of all customers who were referred by the same individual that referred customer# 1003? A)  ​SELECT customer# FROM customers WHERE referred = (SELECT referred FROM customers WHERE customer# = 1003) ; B)  ​SELECT customer# FROM customers WHERE referred EXISTS (SELECT referred FROM customers WHERE customer# = 1003) ; C)  ​SELECT customer# FROM customers WHERE NVL(referred,0) = (SELECT NVL(referred,0) FROM customers WHERE customer# = 1003) ; D)  ​SELECT customer# FROM customers WHERE NVL(referred,0) = (SELECT referred FROM customers WHERE customer# = 1003) ;
-​Based on the contents of the CUSTOMERS table,which of the following SQL statements will display the customer# of all customers who were referred by the same individual that referred customer# 1003?


A) ​SELECT customer# FROM customers WHERE referred =
(SELECT referred FROM customers WHERE customer# = 1003) ;
B) ​SELECT customer# FROM customers WHERE referred EXISTS
(SELECT referred FROM customers WHERE customer# = 1003) ;
C) ​SELECT customer# FROM customers WHERE NVL(referred,0) =
(SELECT NVL(referred,0) FROM customers WHERE customer# = 1003) ;
D) ​SELECT customer# FROM customers WHERE NVL(referred,0) =
(SELECT referred FROM customers WHERE customer# = 1003) ;

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