Question: Based on the contents of the CUSTOMERS table, which SQL statement will display the customers residing in the same state as customer# 1 0 1

Based on the contents of the CUSTOMERS table, which SQL statement will display the customers residing in the same state as customer#1013?
Select one:
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);
 Based on the contents of the CUSTOMERS table, which SQL statement

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!