티스토리 뷰

728x90
SELECT *
FROM table
ORDER BY
    CASE
        WHEN state = 'done' THEN 1
        ELSE 2
    END,
    state;
728x90
댓글