Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D25114770EE for ; Thu, 16 Jan 2003 18:03:26 -0500 (EST) Received: from polaris.pinpointresearch.com (66-7-238-176.cust.telepacific.net [66.7.238.176]) by postgresql.org (Postfix) with ESMTP id C7B9B4773D0 for ; Thu, 16 Jan 2003 17:47:06 -0500 (EST) Received: from there (66-7-238-179.cust.telepacific.net [66.7.238.179]) by polaris.pinpointresearch.com (Postfix) with SMTP id 82303103DE; Thu, 16 Jan 2003 14:47:03 -0800 (PST) Content-Type: text/plain; charset="iso-8859-1" From: Steve Crawford Organization: Pinpoint Research To: "Tim Lynch" , Subject: Re: OT: seeking query help, where? Date: Thu, 16 Jan 2003 14:47:03 -0800 X-Mailer: KMail [version 1.3.1] References: <071501c2bdac$cabaa790$2c0210ac@loisaida> In-Reply-To: <071501c2bdac$cabaa790$2c0210ac@loisaida> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20030116224703.82303103DE@polaris.pinpointresearch.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/181 X-Sequence-Number: 7023 I've never really used this site but it might be of interest: http://www.dbforums.com/ You may also want to check out "SQL Queries for Mere Mortals" (Hernandez/Viescas - Addison Wesley) -Steve On Thursday 16 January 2003 2:15 pm, Tim Lynch 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. > > thanks in advance > -t > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)