select name
from greatests
ORDER BY
case
when name ='B' then 1
when name ='A' then 2
when name ='D' then 3
when name ='C' then 4
else 5
end
2024-03-26 16:36:46
select name
from greatests
ORDER BY
case
when name ='B' then 1
when name ='A' then 2
when name ='D' then 3
when name ='C' then 4
else 5
end
下一篇:script中type属性讲解