Contents of the CUSTOMERS table
-Based on the contents of the CUSTOMERS table,which SQL statement will display the customers residing in the same state as customer#1013?
A) SELECT customer# FROM customers WHERE customer# =
(SELECT state FROM customers WHERE state = 'NJ') ;
B) SELECT customer# FROM customers WHERE state =
(SELECT state FROM customers WHERE customer#=1013) ;
C) SELECT customer# FROM customers WHERE customer# IN
(SELECT state FROM customers WHERE state = 'NJ') ;
D) SELECT customer# FROM customers WHERE state EXISTS
(SELECT state FROM customers WHERE customer#=1013) ;
Correct Answer:
Verified
Q97: The <ALL operator indicates that a value
Q98: Contents of the BOOKS table
Q99: Which of the following terms refers to
Q100: If it is possible for a subquery
Q101: A subquery,except one in the FROM clause,cannot
Q103: Contents of the CUSTOMERS table
Q104: Contents of the CUSTOMERS table
Q105: With a(n)_ statement,a series of DML actions
Q106: A subquery must be enclosed in a
Q107: Valid multiple-row operators include ANY,ALL,and _.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents