
【记录】mysql使用like匹配数据时关于通配符的使用误区
— 此sql中“_”为通配符,匹配任意单字符,所以过滤的数据包含了test开头的数据: select * from live_class where title like 'test_%'; 解决方案:— 下面两种实...
— 此sql中“_”为通配符,匹配任意单字符,所以过滤的数据包含了test开头的数据: select * from live_class where title like 'test_%'; 解决方案:— 下面两种实...