Table CUSTOMER has all customers, and it has a column STATE for the Customer Address' State. What statement below would return all customers from California ('CA') and Texas ('TX')?
SELECT *
FROM CUSTOMER
WHERE STATE = 'CA'
OR STATE = 'TX'
SELECT *
FROM CUSTOMER
WHERE STATE = 'CA' OR 'TX'
SELECT *
FROM CUSTOMER
WHERE STATE = 'CA','TX'
SELECT *
FROM CUSTOMER
WHERE STATE = 'CA'
AND STATE = 'TX'
1
Expert's answer
2018-04-24T08:41:42-0400
Answer: SELECT * FROM CUSTOMER WHERE STATE = 'CA' OR 'TX'
Comments
Leave a comment