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.
ORDER BY CASE WHEN name = 'developer' THEN '0' ELSE name END
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With