Subject | Re: [Firebird-Architect] Re: Window functions SQL-2003 |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-06-20T00:58:21Z |
Leyne, Sean wrote:
exists a WINDOW syntax that's similar to CTE.
The window functions (aka analytic functions) is a way to return GROUP
BY information withing all the rows of the queries (without the group by).
For example, you can return a sum of _value_ in one column and _value_
in another one.
Adriano
>> This is not what the new "Table expressions" are for ?I see nothing in common of the two features, except that in SQL2003
>>
>
> I was thinking the same thing, but they are different. The "Window
> Functions" define a separate syntax.
>
> I suspect that the current functionality for the Common Table
> Expressions, could be used as the basis for the functions which have
> been requested.
exists a WINDOW syntax that's similar to CTE.
The window functions (aka analytic functions) is a way to return GROUP
BY information withing all the rows of the queries (without the group by).
For example, you can return a sum of _value_ in one column and _value_
in another one.
Adriano