sql order by except one row

Solutions on MaxInterview for sql order by except one row by the best coders in the world

showing results for - "sql order by except one row"
Jeanine
20 May 2016
1SELECT name
2FROM categories
3ORDER
4    BY CASE WHEN name = 'Other'
5            THEN 1 -- last
6            ELSE 0 -- first
7        END ASC
8     , name ASC
9
similar questions
queries leading to this page
sql order by except one row