Re: SQL challenge--top 10 for each key value? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: SQL challenge--top 10 for each key value?
Date
Msg-id 200404090906.39541.josh@agliodbs.com
Whole thread Raw
In response to Re: SQL challenge--top 10 for each key value?  (Rod Taylor <pg@rbt.ca>)
Responses Re: SQL challenge--top 10 for each key value?
Re: SQL challenge--top 10 for each key value?
List pgsql-sql
Rod,

> Something along the lines of the below would accomplish what you want
> according to spec. ROW_NUMBER() is a spec defined function. (6.10 of
> SQL200N)

Great leaping little gods!   They added something called "row number" to the 
spec? 

Boy howdy, folks were right ... the ANSI committee really has completly blown 
off the relational model completely.   First there was the addition of 
network-database functions so that IBM could make DB2 look more like a real 
database, now this ....

When a standards committee becomes hostage to a handful of vendors, kiss real 
standards goodbye.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-sql by date:

Previous
From: James Robinson
Date:
Subject: Utility of recursive queries?
Next
From: Josh Berkus
Date:
Subject: Re: Utility of recursive queries?