February 28, 2017postgresql postgresql: limit 1 on group by It's stupidly complicated to get just one record per group on a PostgreSQL query... After an hour of trial and error this […]