SQL查詢某表,並將其中一條記錄置頂或置底

[img]http://dl.iteye.com/upload/picture/pic/136627/07e163fc-744e-31e4-b2e7-8a448bb6e7c9-thumb.png[/img] 如上圖將紅框中的記錄置底: select * from bank order by case MiniName when 'OTH' then 0 end 結果以下: [img]http://
相關文章
相關標籤/搜索