Postgresql Run Multiple Select Statements