一个sql很多个not like的简化语句
来源:互联网 发布:mysql错误1064 编辑:程序博客网 时间:2024/05/21 08:57
如:
select * from table where `zongbu` not like '%北京%' and `zongbu` notlike '%上海%' and `zongbu` not like '%深圳%' and `zongbu` not like '天津'and `zongbu` not like '香港' and `zongbu` not like '沈阳'
SELECT * FROM table WHERE zongbu NOT REGEXP'北京|上海|深圳|天津|香港|沈阳';
select * from table where `zongbu` not like '%北京%' and `zongbu` notlike '%上海%' and `zongbu` not like '%深圳%' and `zongbu` not like '天津'and `zongbu` not like '香港' and `zongbu` not like '沈阳'
SELECT * FROM table WHERE zongbu NOT REGEXP'北京|上海|深圳|天津|香港|沈阳';
- 一个sql很多个not like的简化语句
- SQL的like语句
- SQL语句的简化
- sql 语句 like 多个条件的写法
- sql语句like的用法
- Like SQL语句的优化
- sql语句like的用法
- sql语句like的用法
- sql语句like的用法
- sql语句like的用法
- SQL语句 like 的用法
- sql语句like的用法
- sqlserver 多个条件的 LIKE语句
- sql 语句中对like 的优化
- sql like 查询语句的忽略功能
- sql语句模糊查询like的用法
- sql中like语句
- sql 中like语句
- 从phpMyAdmin批量导入Excel内容到M…
- php的array_search函数说明
- 用php计算两个日期相差多少
- 推荐一个好组件Javascript文本比较工具
- PHP的Session阻塞问题探讨
- 一个sql很多个not like的简化语句
- 【转】[win7]无法访问C:Users:Administrator:Application Data
- 实用make最佳实践
- 删除WIN7 COOKIES的正确方法
- PHP开发工具为程序员带来高质量代…
- hdu(1212)大数取模
- hold住php代码--代码覆盖率统计
- MySQL索引的查看创建和删除
- MySQL索引浅析