mysql 运算操作符
2024-09-26 01:24:53
Name | Description |
---|---|
AND , && |
Logical AND |
= |
Assign a value (as part of a SET statement, or as part of the SET clause in anUPDATE statement) |
:= |
Assign a value |
BETWEEN ... AND ... |
Check whether a value is within a range of values |
BINARY |
Cast a string to a binary string |
& |
Bitwise AND |
~ |
Bitwise inversion |
| |
Bitwise OR |
^ |
Bitwise XOR |
CASE |
Case operator |
DIV |
Integer division |
/ |
Division operator |
= |
Equal operator |
<=> |
NULL-safe equal to operator |
> |
Greater than operator |
>= |
Greater than or equal operator |
IS |
Test a value against a boolean |
IS NOT |
Test a value against a boolean |
IS NOT NULL |
NOT NULL value test |
IS NULL |
NULL value test |
-> |
Return value from JSON column after evaluating path; equivalent to JSON_EXTRACT(). |
->> |
Return value from JSON column after evaluating path and unquoting the result; equivalent to JSON_UNQUOTE(JSON_EXTRACT()). |
<< |
Left shift |
< |
Less than operator |
<= |
Less than or equal operator |
LIKE |
Simple pattern matching |
- |
Minus operator |
% , MOD |
Modulo operator |
NOT , ! |
Negates value |
NOT BETWEEN ... AND ... |
Check whether a value is not within a range of values |
!= , <> |
Not equal operator |
NOT LIKE |
Negation of simple pattern matching |
NOT REGEXP |
Negation of REGEXP |
|| , OR |
Logical OR |
+ |
Addition operator |
REGEXP |
Whether string matches regular expression |
>> |
Right shift |
RLIKE |
Whether string matches regular expression |
SOUNDS LIKE |
Compare sounds |
* |
Multiplication operator |
- |
Change the sign of the argument |
XOR |
Logical XOR |
最新文章
- qt5中文代码编码编译问题
- EhCache WebCache 与 SpringMVC集成时 CacheManager冲突的问题
- 上下margin重叠传递问题
- CodeIgniter 引入自定义公共函数
- 校园导游之NABC个人分析
- 【python】为什么用python
- DTM initialization: failure during startup recovery, retry failed, check segment status (cdbtm.c:1603)
- POJ3264-Balanced Lineup-线段树
- a标签实现锚点功能
- STM32学习笔记:【002】BIN文件通过ST-LINK烧录STM32芯片
- C语言指针基本操作
- html table隐藏列
- 2018.1.7java转型
- windows 64位下 Octave 不能画图的解决办法
- JavaScript闭包 懂不懂由你反正我是懂了
- python操作数据库-安装
- 多流向算法GPU并行化
- 使用Fiddler进行APP弱网测试
- Selenium2+python自动化61-Chrome您使用的是不受支持的命令行标记:--ignore-certificate-errors
- Windows8中如何打包和安装一个本地的Metro类型应用(转)
热门文章
- eclipse 无法启动,JAVA_HOME 失效
- WCF NetTcpBinding
- System.Data.Entity.Core.EntityException: 可能由于暂时性失败引发了异常。如果您在连接到 SQL Azure 数据库,请考虑使用 SqlAzureExecutionStrategy。
- Django使用LDAP
- Java调用Http/Https接口(1)--编写服务端
- C语言开发中常用英文缩写
- 【JAVA】JSP+layui框架 静态表格转化成数据表格
- Vue项目中遇到的问题汇总
- 视觉AI风口一触即发,虹软AI沙龙点金深圳
- tp5 隐藏index.php