Package: postgresql-10-first-last-agg Source: first-last-agg Version: 0.1.4-4-gd63ea3b-7.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 42 Depends: postgresql-10 Homepage: https://github.com/wulczer/first_last_agg Priority: optional Section: database Filename: pool/main/f/first-last-agg/postgresql-10-first-last-agg_0.1.4-4-gd63ea3b-7.pgdg20.04+1_amd64.deb Size: 5720 SHA256: c15a52107c67280f6e1ebd6a4475c6aee74ee3cd92dd40c525c7c943e67390dd SHA1: 8b2b21ab112d4d114c707f851dec557544bb9ca6 MD5sum: dc19732f9f5fe10b502b09710c80bdaa Description: PostgreSQL extension providing first and last aggregate functions first-last-agg is a simple extension providing two aggregate functions, last and first, operating on any element type and returning the last or the first value of the group. . Since by default the ordering inside groups created by a GROUP BY expression is not defined, it is advisable to use an ORDER BY clause inside the aggregate expression (see the aggregate function syntax).