F

first_last

PostgreSQL Aggregates to return first or last values/rows