Postgresql – Postgres query table with max value in row with group by
Suppose I have the following data, and I want to know for each person what was their highest performing period, breaking ties in favor of more recent periods. I would like to see ONLY the following rows: 5 (Alice's best…