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:
Verified
Q68: Which type of SQL language grants or
Q69: Which type of SQL language interacts with
Q70: Dikshya writes a SELECT command to retrieve
Q71: You need to write a command to
Q72: You need to write a command to
Q74: You need to write a query to
Q75: You need to write a query to
Q76: What type of operator allows a SELECT
Q77: Which type of JOIN operation retrieves record
Q78: The diagram shown is a visual representation
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