Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group