MySQL SELECT * FROM xxxTableName x WHERE FIND_IN_SET(x.id, '1,2,3,4,5,6,7,8'); 如上查询,意为:xxxTableName 表中 x.id 在 '1,2,3,4,5,6,7,8' 中的记录