Multiple choice technology databases

You can use ____________ in a SQL expression to override operator precedence

  1. colons

  2. parentheses

  3. commas

  4. semi-colons

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

Parentheses override the default operator precedence in SQL expressions, just like in standard mathematics. Without parentheses, SQL evaluates operators according to precedence rules (NOT before AND before OR). Colons, commas, and semicolons are statement separators or terminators, not grouping operators.