请问一下,如果输入1和4,只能是同时有1和4的被查出来;如果输入1和6,只能是同时有1和6的被查出来,sql语句应该怎么写
MySQL:select * from yyp_clothingstock where find_in_set('1',clothingPath) and find_in_set('4',clothingPath)
select 字段1,字段2,字段3.....from 表名 where 字段2 in(1) and 字段2 in(4) 不知道对不对