[ 
https://issues.apache.org/jira/browse/DERBY-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526878
 ] 

Bryan Pendleton commented on DERBY-2998:
----------------------------------------

Hi Thomas, regarding the syntax for the nested select, do these formulations 
work?

  select * from (select row_number() as r, t.* from t) as t_with_rownum where r 
< 10

  select * from (select row_number() as r, a, b from t) as t_with_rownum where 
r < 10

That is, if we specify the "as <aliasname>" clause for the nested select, is 
the where clause recognized properly?


> Add support for ROW_NUMBER() window function
> --------------------------------------------
>
>                 Key: DERBY-2998
>                 URL: https://issues.apache.org/jira/browse/DERBY-2998
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Thomas Nielsen
>            Assignee: Thomas Nielsen
>            Priority: Minor
>         Attachments: row_number_prototype.diff, row_number_prototype.stat
>
>
> As part of implementing the overall OLAP Operations features of SQL 
> (DERBY-581), implement the ROW_NUMBER() window function.
> More information about this feature is available at 
> http://wiki.apache.org/db-derby/OLAPRowNumber

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to