网上找到有帮助的文章链接:https://blog.csdn.net/superit401/article/details/82899672?utm_source=blogxgwz0
表:
需求:查出data字段包含\u8bf7\u8865\u5145的数据
SELECT * FROM fanli_taoreturn WHERE `data` LIKE concat(‘%‘,"\u8bf7\\\\u8865\\\\u5145",‘%‘) and id <2765748 LIMIT 1000;
SELECT * FROM fanli_taoreturn WHERE `data` LIKE concat(‘%‘,"_u8bf7_u8865_u5145",‘%‘) and id <2765748 LIMIT 1000;
1.mysql数据库里的data字段内容是经过unicode编码处理后存储的,每个字符都是以\u开头的,后面跟上2或4位的16进制表示的字符。