Subject | Re: [firebird-support] Firebird vs. PostgreSQL |
---|---|
Author | Mark Rotteveel |
Post date | 2019-03-12T15:56:01Z |
On 2019-03-12 13:13, Michal Kurczabinski michkurc@...
[firebird-support] wrote:
Aggregate Functions" in the Firebird 4 beta 1 release notes, or
http://tracker.firebirdsql.org/browse/CORE-5768
Note though that the order you mention is not right, it right order
would be count(other_col) filter (where other_col > soime_val) over(),
or filter-clause before window-clause(that is also the order in
PostgreSQL).
Mark
[firebird-support] wrote:
> I forgot about very useful feature lile FILTER on window functionsFILTER has been implemented in Firebird 4. See "FILTER Clause for
> select some_col, count(other_col) over() FILTER ( where other_col >
> soime_val) Maybe in FB 4.0 it might be implemented
Aggregate Functions" in the Firebird 4 beta 1 release notes, or
http://tracker.firebirdsql.org/browse/CORE-5768
Note though that the order you mention is not right, it right order
would be count(other_col) filter (where other_col > soime_val) over(),
or filter-clause before window-clause(that is also the order in
PostgreSQL).
Mark