MySQL Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Mysql Tutorial
Introduction
How to Install
Database
Datatypes
Tables
INSERT
SELECT
UPDATE
DELETE
Operators
Functions
Ask Your Doubts
Feedback
 





Mysql Operator precedence


Tutorials Mysql

Topic
What is operator precedence in mysql?


Explanation


MySQL Operator Precedence:

    Operators are used to operate with two operands. Wide collection of Operators are available in MySQL. The operator precedences are shown below in the table.

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

   If a statement contains paranthesis, then the operations inside the paranthesis are performed first. These operators will be explained in the following sections.

   The above description shows the MySQL Operator Precedence.




A Note

MySQL is the most popular open source Relational database Management system (RDBMS). Being a open source anyone can use and change the software for their needs. Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this MySQL tutorial. This is a copyright content.


Other Links

web hosting