1. 程式人生 > >mysql 按照 where in 排序

mysql 按照 where in 排序

ssg rom end ext sga xtend extend sel uniq

select * from user_extend where `unique` in(
‘[email protected]‘,
‘[email protected]‘,
‘[email protected]‘,
‘[email protected]‘

)
order by field(`unique`,‘[email protected]‘,
‘[email protected]‘,
‘[email protected]‘,
‘[email protected]‘
) ;

mysql 按照 where in 排序