Postgresql get most recent record for each id July 8, 2019 16 32 64 128 Postgresql select most recent record for each id