Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B2EA6476424 for ; Thu, 16 Jan 2003 17:12:18 -0500 (EST) Received: from smtp.thirdage.com (smtp.thirdage.com [66.88.20.171]) by postgresql.org (Postfix) with SMTP id C0F9147606A for ; Thu, 16 Jan 2003 17:11:35 -0500 (EST) Received: by smtp.thirdage.com (Postfix, from userid 97) id 606278780; Thu, 16 Jan 2003 14:10:19 -0800 (PST) Received: from loisaida (host44.thirdage.com [172.16.2.44]) by smtp.thirdage.com (Postfix) with SMTP id C84038779 for ; Thu, 16 Jan 2003 14:10:18 -0800 (PST) Message-ID: <071501c2bdac$cabaa790$2c0210ac@loisaida> From: "Tim Lynch" To: Subject: OT: seeking query help, where? Date: Thu, 16 Jan 2003 14:15:22 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=0.0 required=7.0 tests=SUBJ_ENDS_IN_Q_MARK, AWL version=2.20 X-Spam-Level: X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/180 X-Sequence-Number: 7022 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. thanks in advance -t