时间:2021-07-01 10:21:17 帮助过:18人阅读
SELECT * FROM `t_ms_article` WHERE `tid` LIKE ‘%2%’;
SELECT * FROM `t_ms_article` WHERE `tid` LIKE ‘%2%’;
SELECT * FROM `t_ms_article` WHERE find_in_set('2', `tid`)
SELECT * FROM `t_ms_article` WHERE CONCAT(',',`tid`,',') LIKE ‘%,2,%’;
SELECT * FROM `t_ms_article` WHERE find_in_set('2', `tid`)