select * from tbl_sutdent where age in (20, 25, 30) order by field(`age`, 30, 20, 25);
mysql 对表中指定字段值按指定顺序排序
最新推荐文章于 2024-10-17 14:10:50 发布
select * from tbl_sutdent where age in (20, 25, 30) order by field(`age`, 30, 20, 25);
2431
1342
8159
5020

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