Fork me on GitHub
Excelsior
A halfway decent programmer
12/02/2009
[Ques] 如何 ORDER BY 特定欄位的順序
假設 table "TEST" 有欄位 a = {1, 2, 3, 4} 對應之 b = {5, 6, 7, 8}
SELECT a FROM TEST WHERE b = {7, 6, 5, 8} 出來的結果會是 a = {3, 2, 1, 4} 嗎 ?
有什麼語法可以達成這個目的嗎?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment