Postgres Window Functions Postgresql Jdbc Example