2017年12月8日

mysql in和find_in_set

摘要: 一、查询包含“,”的列 1.如果查询条件包含单引号 用in 如:select * from t_test where names in ('李红'); 只能查询出names列中值为‘李红’的数据 select * from t_test where names in ('李红,李华'); 只能查询出 阅读全文

posted @ 2017-12-08 10:58 miu丶苏 阅读(152) 评论(0) 推荐(0) 编辑

导航