Question: Which query identifies customers living in the same state as the customer named Leila Smith? a. SELECT customer# FROM customers WHERE state = (SELECT state

Which query identifies customers living in the same state as the customer named Leila Smith?
a. SELECT customer# FROM customers

WHERE state = (SELECT state FROM customers
WHERE lastname = 'SMITH');

b. SELECT customer# FROM customers

WHERE state = (SELECT state FROM customers
WHERE lastname = 'SMITH'
OR firstname = 'LEILA');

c. SELECT customer# FROM customers

WHERE state = (SELECT state FROM customers
WHERE lastname = 'SMITH'
AND firstname = 'LEILA'
ORDER BY customer);

d. SELECT customer# FROM customers

WHERE state = (SELECT state FROM customers
WHERE lastname = 'SMITH'
AND firstname = 'LEILA');

Step by Step Solution

3.37 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d SELECT customer FROM c... View full answer

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

Document Format (2 attachments)

PDF file Icon

1803_60b8c1212a3e5_716701.pdf

180 KBs PDF File

Word file Icon

1803_60b8c1212a3e5_716701.docx

120 KBs Word File

Students Have Also Explored These Related Oracle 12c SQL Questions!