2011-03-16 2 views

답변

4
SELECT id, 
     type, 
     name, 
     register 
FROM table 
ORDER BY CASE type 
      WHEN 2 THEN 1000000 
      ELSE id 
      END CASE DESC 
0
SELECT id, 
     TYPE, 
     name, 
     register 
FROM table 
ORDER BY field(TYPE,2) desc 
관련 문제