Solved

You Need to Write a Query to Retrieve All Customer

Question 75

Multiple Choice

You need to write a query to retrieve all customer information (table is 'Customer') for customers who do NOT live in Texas ('TX') and the payment method (field is 'PaymentMethod') is American Express ('AMEX') . Which of the following SQL statements will work for your query?


A) SELECT all FROM Customer WHERE State <> 'TX' and PaymentMethod = 'AMEX'
B) SELECT all FROM Customer WHERE State not = 'TX' and PaymentMethod = 'AMEX'
C) SELECT * FROM Customer WHERE State <> 'TX' and PaymentMethod = 'AMEX'
D) SELECT * FROM Customer WHERE State not = 'TX' and PaymentMethod = 'AMEX'

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