Which statement is correct about AND and OR operators used together in a WHERE clause?
Explanation
AND operator has higher priority compared to OR operator.
For example,
WHERE condition_1 AND condition_2 OR condition_3
is equivalent to the following
WHERE (condition_1 AND condition_2) OR condition_3
SQL
SQL Quiz
Start Quiz

or Read more about SQL Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback