Operator precedences : Operator : Introduction MySQL TUTORIALS


MySQL TUTORIALS » Introduction » Operator »

 

Operator precedences


Operator precedences are shown in the following list, from lowest precedence to the highest.

Operators that are shown together on a line have the same precedence.

  1. :=
  2. ||, OR, XOR
  3. &&, AND
  4. NOT
  5. BETWEEN, CASE, WHEN, THEN, ELSE
  6. =, , >=, >, , !=, IS, LIKE, REGEXP, IN
  7. |
  8. &
  9. >
  10. -, +
  11. *, /, DIV, %, MOD
  12. ^
  13. - (unary minus), ~ (unary bit inversion)
  14. !
  15. BINARY, COLLATE



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Introduction
» Operator