ExamVeda
Login
Home
This question belongs to SQL Sql Miscellaneous
Sql Miscellaneous
?

If a query involves NOT, AND, OR with no parenthesis

Answer & Solution
Correct Answer: Option A
In SQL, when a query involves NOT, AND, and OR operators without parentheses, the NOT operator is evaluated first, followed by the AND operator, and then the OR operator. This order of evaluation is important for understanding the logic of the query. Therefore, Option A is the correct choice for the order of evaluation.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Lingeswaran Nagarajan
Lingeswaran Nagarajan 9 years ago
As per the order they are placed in the query, they query will be executed.