How to ORDER BY using the contents of a column in Postgres (knock.app) 6 points by brentjanderson 3y ago ↗ HN
[–] brentjanderson 3y ago ↗ We needed a way to selectively order ASC or DESC in a Postgres window function. It turns out you can with CASE statements!
1 comment
[ 3.3 ms ] story [ 10.7 ms ] thread