//排序
select * from table where field_1 in ({$book_id}) order by field(field_1,{$book_id})
//不排序
select * from table where field_1 in ({$book_id}) ORDER BY INSTR(',{$book_id},',CONCAT(',',field_1,','))
mysql where in 排序/不排序
最新推荐文章于 2025-03-10 13:17:09 发布