Recommendation for writing a select statement.

From: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Recommendation for writing a select statement.
Date: 2011-05-10 22:30:43
Message-ID: BANLkTimKKMmN9Mpm09vspE24PvMwVNtH7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I need to design a query statement and this is the general structure of what
I have in mind:

SELECT STATEMENT
(EXCEPT
(SELECT STATEMENT))
UNION
SELECT STATEMENT
(EXCEPT
(SELECT STATEMENT))

Is this a recommended guideline or should I break it into smaller individual
and independent pieces?

Respectfully,
Jorge Maldonado

Browse pgsql-novice by date

  From Date Subject
Next Message Sindile Bidla 2011-05-11 12:09:17 Error in using copy command
Previous Message Grzegorz Szpetkowski 2011-05-10 20:30:49 Re: How to protect Postgres password in my app?