码迷,mamicode.com
首页 > 数据库 > 详细

mysql运算符的优先级

时间:2016-05-29 13:45:27      阅读:590      评论:0      收藏:0      [点我收藏+]

标签:

Operator precedences are shown in the following list, from highest precedence to the lowest. Operators that are shown together on a line have the same precedence.

INTERVAL
BINARY, COLLATE
!
- (unary minus), ~ (unary bit inversion)
^
*, /, DIV, %, MOD
-, +
<<, >>
&
|
=, <=>, >=, >, <=, <, <>, !=, IS, LIKE, REGEXP, IN
BETWEEN, CASE, WHEN, THEN, ELSE
NOT
&&, AND
XOR
||, OR
:=

mysql运算符的优先级

标签:

原文地址:http://www.cnblogs.com/toSeeMyDream/p/5539290.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!