X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B661CD1B529 for ; Fri, 12 Sep 2003 18:08:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 23646-08 for ; Fri, 12 Sep 2003 15:08:27 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id 105F9D1B51F for ; Fri, 12 Sep 2003 15:08:26 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h8CI8Psl081114 for ; Fri, 12 Sep 2003 18:08:25 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h8CI0RdG079024 for pgsql-sql@postgresql.org; Fri, 12 Sep 2003 18:00:27 GMT From: grk@usa.net (G. Ralph Kuntz, MD) X-Newsgroups: comp.databases.postgresql.sql Subject: Q: select query Date: 12 Sep 2003 10:58:45 -0700 Organization: http://groups.google.com/ Lines: 24 Message-ID: <9881c752.0309120958.454c659c@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/105 X-Sequence-Number: 15083 I am trying to write a query to select some rows. My data consists of rows like this 1 a 1 b 1 c 2 d 3 e 3 f ... I would like to select the second and subsequent rows where the first column is the same: 1 b 1 c 3 f in other words, all but the first row of a group. Any ideas? Thanks, Ralph