mysql查询语句根据in中的条件进行排序

select * from user_info where user_id in(3,1,2) order by field(user_id,3,1,2)

One comment:

评论已关闭。