The following two SQL statements will produce different results.
SELECT last_name, first_name
FROM customer
WHERE state = 'MA' OR state = 'NY' OR state = 'NJ' OR state = 'NH' OR state = 'CT';
SELECT last_name, first_name
FROM customer
WHERE state in ('MA','NY','NJ','NH','CT');
Correct Answer:
Verified
Q82: The following query totals sales in state=
Q83: The WHERE clause is always processed before
Q84: Discuss the pros and cons of using
Q85: What steps should be followed when preparing
Q86: Discuss when to use the GROUP BY
Q88: The following query totals sales for each
Q89: Explain the three classes of SQL commands
Q90: What are some of the standard SQL
Q91: When a GROUP BY clause is included
Q92: A referential integrity constraint specifies that the
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