mysql中where or cast
来源:互联网 发布:sql的update语句 编辑:程序博客网 时间:2024/06/06 07:50
SELECT
*
FROM
`xilian168`.`member_store`
WHERE
CAST(
`xilian168`.`member_store`.`name` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`contact` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`phone` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`address` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`description` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`keywords` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`remark` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`icon` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`x` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`y` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`fav_info` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`intro` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%';
*
FROM
`xilian168`.`member_store`
WHERE
CAST(
`xilian168`.`member_store`.`name` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`contact` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`phone` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`address` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`description` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`keywords` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`remark` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`icon` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`x` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`y` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`fav_info` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%'
OR CAST(
`xilian168`.`member_store`.`intro` AS CHAR CHARACTER
SET utf8
) COLLATE utf8_general_ci LIKE '%洗%';
0 0
- mysql中where or cast
- 优化mysql中where or和where in语句的效率
- mysql 数据表 查找 where and or
- mysql测试where子句中使用or关键字能否用到索引
- WHERE.....OR(........)
- mysql中where+if判断
- mysql中where in用法
- SQL.Mysql中Cast()函数的用法
- SQL.Mysql中Cast()函数的用法
- Mysql中Cast()函数,strftime()函数用法
- Mysql| 组合where子句过滤数据(AND,OR,IN,NOT)
- MYSQL CAST
- oracle where语句中and,or,not的执行顺序
- HiveQL中where后面的and 和or 处理
- ibatis中where后面or 和 and 的联合使用
- mysql中 where in 用法详解
- mysql中having和where的区别
- mysql中 where in 用法详解
- <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
- swift调用oc类文件的方法
- Web server调研分析
- achartengine画出动态折线图 zz
- apache和php的一些配置
- mysql中where or cast
- 横向滑动HorizontalScrollView+Gridview
- 怎么样进行拓扑排序
- leetcode 149: Copy List with Random Pointer
- 用poi导出Excel
- QT子线程与主线程的信号槽通信
- Linux C语言编程学习材料
- PRML线性模型小结
- 自定义下拉框