OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Against the Grain: Pascal commentary about XML and databases



On Fri, 29 Jun 2001, Jeff Lowery wrote:

> Yeah, but if he asked you to roll up the TOP FIVE sales, you'd be stuck:
> it's not a relational query, it's a relative query. And you can't perform it
> in any SQL query logic that I know of (although a good DBA can pull off some
> damned-near miracles).

Hahah!

SELECT * FROM Sales SORT BY value DESC LIMIT 5;

...works for me...

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software