Solved

You Need to Write an SQL Query to Retrieve CustomerFirstName

Question 73

Multiple Choice

You need to write an SQL query to retrieve CustomerFirstName, CustomerLastName, and CustomerEmailAddress from the Customer table for all customers who list "OK" as their state (field name for state is CustomerState) . Which SQL statement will yield the results that you need?


A) SELECT CustomerFirstName, CustomerLastName, CustomerEmailAddress FROM Customer
WHEN CustomerState IS 'OK'
B) SELECT CustomerFirstName, CustomerLastName, CustomerEmailAddress FROM Customer
WHEN CustomerState = 'OK'
C) SELECT CustomerFirstName, CustomerLastName, CustomerEmailAddress FROM Customer
WHERE CustomerState = 'OK'
D) SELECT CustomerFirstName, CustomerLastName, CustomerEmailAddress FROM Customer
WHERE CustomerState IS 'OK'

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