pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Tim Lynch <admin+pgsqladmin@thirdage.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: OT: seeking query help, where?
Date: Thu, 16 Jan 2003 17:29:43 -0600
Message-ID: <20030116232943.GA28865@wolff.to> (raw)
In-Reply-To: <071501c2bdac$cabaa790$2c0210ac@loisaida>
References: <071501c2bdac$cabaa790$2c0210ac@loisaida>

On Thu, Jan 16, 2003 at 14:15:22 -0800,
  Tim Lynch <admin+pgsqladmin@thirdage.com> wrote:
> First, sorry for the OT, flame me off-list!
> 
> I'm a sysadmin being impressed into dba service. i've been getting along
> pretty well writing queries and making reports, but i've got some questions.
> suggestions for a good list/forum for help?
> 
> from two tables both with email_addr columns, i want a distinct list of all
> email_addrs in one column. what i do now is select distinct on each and then
> sort -u the results.

Use the union operator.



view thread (13+ messages)  latest in thread

Message-ID: <20030116232943.GA28865@wolff.to>
Permalink:  ../20030116232943.GA28865@wolff.to/
Also on:    postgresql.org/message-id/20030116232943.GA28865@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, admin+pgsqladmin@thirdage.com
  Subject: Re: OT: seeking query help, where?
  In-Reply-To: <20030116232943.GA28865@wolff.to>
  References: <071501c2bdac$cabaa790$2c0210ac@loisaida> <20030116232943.GA28865@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox