Select first row in each GROUP BY group? Select first row in each GROUP BY group? postgresql postgresql