时间:2021-07-01 10:21:17 帮助过:27人阅读
select * from user_extend where `unique` in(
‘mark.liu@xxxx.com‘,
‘jason.gan@xxxx.com‘,
‘ssgao@xxxx.com‘,
‘andymrlu@xxxx.com‘
)
order by field(`unique`,‘mark.liu@xxxx.com‘,
‘jason.gan@xxxx.com‘,
‘ssgao@xxxx.com‘,
‘andymrlu@xxxx.com‘
) ;
mysql 按照 where in 排序
标签:user 排序 where order by field unique xxxx use order