1 算术运算符

+
-
*
/, div(整型除)
%, mod

2 比较运算符:结果总是1, 0或者NULL

=
<=>: null-safe等于, 两边都为null则返回1, 一边为null则返回0
<>,!=
<=
>=
>
<
is null
is not null
is
is not
between...and...
not between...and...
like
not like
regexp, rlike
not regexp
sounds like

3 逻辑运算符,运算结果总是TRUE, FALSE或NULL

not, !
and, &&
or, ||
xor

4 位操作运算符

~: 位取反
&: 位与
|: 位或
^:位异或
>>
<<
posted on 2016-02-23 17:21  迷阳  阅读(262)  评论(0编辑  收藏  举报