X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 830E7D1D061 for ; Fri, 9 Apr 2004 03:11:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66321-06 for ; Fri, 9 Apr 2004 03:11:48 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E9835D1D078 for ; Fri, 9 Apr 2004 03:11:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i396BiuD021761; Fri, 9 Apr 2004 02:11:44 -0400 (EDT) To: Rod Taylor Cc: Greg Stark , Jeff Boes , pgsql-sql@postgresql.org Subject: Re: SQL challenge--top 10 for each key value? In-reply-to: <1081481466.56361.808.camel@jester> References: <33af4fa4e4ec230574cefcff737ea40a@news.teranews.com> <87r7uyf3ki.fsf@stark.xeocode.com> <1081481466.56361.808.camel@jester> Comments: In-reply-to Rod Taylor message dated "Thu, 08 Apr 2004 23:31:07 -0400" Date: Fri, 09 Apr 2004 02:11:44 -0400 Message-ID: <21760.1081491104@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/70 X-Sequence-Number: 17445 Rod Taylor writes: > ROW_NUMBER() is a spec defined function. (6.10 of SQL200N) If the spec doesn't even have a year number yet, you can hardly expect real implementations to support it ;-). There is no such thing in the extant specs SQL92 or SQL99. regards, tom lane