📜  sql order by except 一行 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.759000             🧑  作者: Mango

代码示例1
SELECT name
FROM categories
ORDER
    BY CASE WHEN name = 'Other'
            THEN 1 -- last
            ELSE 0 -- first
        END ASC
     , name ASC