Multiple choice technology databases

Order of precedence for sql in teradata is

  1. NOT, Parenthesis AND, OR

  2. Parenthesis,NOT, AND, OR

  3. Parenthesis, OR ,NOT, AND

  4. Parenthesis,NOT, OR, AND

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

SQL operators follow the standard precedence: parentheses override all other grouping, NOT is evaluated before AND, and AND is evaluated before OR. This order ensures that expressions like 'A OR B AND C' are evaluated as 'A OR (B AND C)' rather than '(A OR B) AND C'.