The following table describes operator precedence. Smaller-numbered levels in the table have higher precedence. Within a level, operations are always performed from left to right. The first occurrence of ‘-’ represents unary negation, the second binary subtraction.
()
**
-
* /
+ -
= >= > <= < <>
NOT
AND
OR