select * from tbl_sutdent where age in (20, 25, 30) order by field(`age`, 30, 20, 25);
mysql 对表中指定字段值按指定顺序排序
最新推荐文章于 2025-01-21 11:46:53 发布
select * from tbl_sutdent where age in (20, 25, 30) order by field(`age`, 30, 20, 25);
2376
3320
1487
8070

被折叠的 条评论
为什么被折叠?