I need to use an order by on a table but keep some special rows on top. The rows that have name='developer' for example.
A:
Something like this might work for you.
SELECT * FROM table ORDER BY CASE WHEN name = 'developer' THEN 0 ELSE 1 END, name
kevpie
2010-10-20 06:23:38