Question discussion

In an SQL Query involving NOT, OR and AND without parenthesis, what is the order of evaluation ?

2936Medium DSSSB TGT Computer Science 0 replies 1 views
0

In an SQL Query involving NOT, OR and AND without parenthesis, what is the order of evaluation ?

  • ANOT followed by AND followed by OR
  • BNOT followed by OR followed by AND
  • CAND followed by OR followed by NOT
  • DOR followed by AND followed by NOT
Correct answer: A

Explanation

Precedence: NOT, then AND, then OR.

Discussion 0

Nobody has replied yet. Start the discussion!