2
Select status from table where 'condition' order by status desc
回報:甲骨文降序排列,出現異常
T
R
P
O
N
C
是否有可能總是在常規降序頂部和他們的休息,以顯示「P」?
Select status from table where 'condition' order by status desc
回報:甲骨文降序排列,出現異常
T
R
P
O
N
C
是否有可能總是在常規降序頂部和他們的休息,以顯示「P」?
Select status from table where 'condition'
order by case when status = 'P' then 0 else 1 end, status desc
工作正常,非常感謝。 – user2093576