PostgreSQL Analytical Functions 7 codes