2011-07-14 62 views

回答

4
SELECT value 
FROM mytable 
ORDER BY 
     CASE value WHEN 'a' THEN 1 WHEN 'c' THEN 2 WHEN 'b' THEN 3 END 
+0

或者...... order by some_immutable_function(value) –