|
|
Choosing A Webhost: |
Re: LIMIT and ORDER BY in subqueries: msg#00008java.hsqldb.user
As an example, I want to create a view on table mytable containing all tuples with xyz value greater than fifth greatest xyz value in descending order: create view myview as (select * from mytable where xyz > (select xyz from mytable order by xyz desc limit 1, 4) order by xyz desc) fredt <fredt@xxxxxxxxxxxxxxxxxxxxx> wrote:
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Hsqldb-user mailing list Hsqldb-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/hsqldb-user
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: LIMIT and ORDER BY in subqueries, fredt |
|---|---|
| Next by Date: | Re: LIMIT and ORDER BY in subqueries, fredt |
| Previous by Thread: | Re: LIMIT and ORDER BY in subqueries, fredt |
| Next by Thread: | Re: LIMIT and ORDER BY in subqueries, fredt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |