Adding in PSQL Queries