摘要: https://blog.csdn.net/u012759006/article/details/82945360 阅读全文
posted @ 2019-11-08 20:12 AngDH 阅读(954) 评论(0) 推荐(0)
摘要: select * from table sin where FIND_IN_SET('FAL5',CONCAT_WS(',', sin.DISPLAY_NAME,sin.ROUTE_CODE)) -- 查 DISPLAY_NAME 有FAL5 或者 ROUTE_CODE 有 FAL5 阅读全文
posted @ 2019-11-08 20:00 AngDH 阅读(1382) 评论(0) 推荐(0)
摘要: >>> a = u'\xb2\xe2\xca\xd4' >>> b = a.encode('raw_unicode_escape') >>> print b 测试 >>> c = a.encode('latin1') >>> print c 测试 unicode.encode(text, encod 阅读全文
posted @ 2019-11-08 19:35 AngDH 阅读(344) 评论(0) 推荐(0)
摘要: // mysql中使用concat连接字符串 select t1.id, t1.title, t2.keyword from t1 inner join t2 on t1.title like concat('%', t2.keyword, '%'); 其它思路:exists(是否存在)、regex 阅读全文
posted @ 2019-11-08 19:23 AngDH 阅读(1368) 评论(0) 推荐(0)