select * from user_management_log where user_id in('653','1500','911','203','2128','687','1189','1207','593','635','795','758','860') order by field(user_id, '653','1500','911','203','2128','687','1189','1207','593','635','795','758','860');
结果:
653
1500
911
203
2128
687
1189
1207
593
635
795
758
860
Mysql根据查询条件排序(field)
最新推荐文章于 2024-02-27 15:53:31 发布