标签:value sel insert strong from mys sql name set
INSERT INTO `test` VALUES (1, ‘name‘, ‘daodao,xiaohu,xiaoqin‘); INSERT INTO `test` VALUES (2, ‘name2‘, ‘xiaohu,daodao,xiaoqin‘); INSERT INTO `test` VALUES (3, ‘name3‘, ‘xiaoqin,daodao,xiaohu‘); test1:sql = select * from `test` where ‘daodao‘ IN (`list`); 得到结果空值. test2:sql = select * from `test` where FIND_IN_SET(‘daodao‘,`list`); 得到三条数据
标签:value sel insert strong from mys sql name set
原文地址:https://www.cnblogs.com/rianley/p/10472379.html