If an SQL query involves NOT,AND,OR with no parenthesis
Operators having same precedence are placed in the same row.
SQL Operators:
A gives the correct order of precedence.
This can be changed by using parenthesis, that is why questions clearly mentions no parenthesis is used.
Ref: http://www.sqlqueryexamples.com/sql-logical-operators-and-operator-precedence.htm
64.3k questions
77.9k answers
244k comments
80.0k users