MySQL operators priority

The operators are listed in descending order of priority. Operators presented in the same row have equal precedence.

BINARY
NOT !
- (
unary minus)
* / %
+ -
>
&
|
< = > IN IS LIKE REGEXP RLIKE
BETWEEN
AND &&
OR ||

No comments:

Post a Comment