SELECT FIND_IN_SET('b','a,b,c,d');

结果:2

SELECT * from video where find_in_set(id,'1,2,3,4');

查找id在‘1,2,3,4’范围内的数据

 

相关文章: