本文概述
- 句法
- 例子1
句法
select name from table_name where column_name not regexp 'pattern';
例子1 【MySQL not正则表达式运算符】数据库:
![MySQL not正则表达式运算符](http://www.srcmini.com/wp-content/uploads/2020/03/mysql-regular-expression-not-regexp-operator.png)
文章图片
插入:
![MySQL not正则表达式运算符](http://www.srcmini.com/wp-content/uploads/2020/03/mysql-regular-expression-not-regexp-operator2.png)
文章图片
表:
![MySQL not正则表达式运算符](http://www.srcmini.com/wp-content/uploads/2020/03/mysql-regular-expression-not-regexp-operator3.png)
文章图片
查询:
![MySQL not正则表达式运算符](http://www.srcmini.com/wp-content/uploads/2020/03/mysql-regular-expression-not-regexp-operator4.png)
文章图片
推荐阅读
- MySQL regexp_instr()函数
- MySQL函数
- MySQL存储过程
- MySQL字面量(日期和时间)
- MySQL字面量(常量)
- MySQL游标
- MySQL last()函数
- MySQL max()函数
- 域名还能绑定动态IP(真是又涨见识了,再也不用购买固定IP了,赶快收藏)