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
原文地址:https://www.cnblogs.com/newlangwen/p/10565919.html
时间: 2024-10-08 02:22:55