Open vkingnew opened 1 year ago
SQL:2003 introduced the filter clause as part of the optional feature “Advanced OLAP operations” (T612). pg had impelements.
refer to: https://modern-sql.com/feature/filter refer postgresql: https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-AGGREGATES
refer trino: https://trino.io/docs/current/functions/aggregate.html#
simple the SQL statement
No response
refer clickhouse: https://clickhouse.com/docs/knowledgebase/filtered-aggregates
Search before asking
Description
SQL:2003 introduced the filter clause as part of the optional feature “Advanced OLAP operations” (T612). pg had impelements.
refer to: https://modern-sql.com/feature/filter refer postgresql: https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-AGGREGATES
refer trino: https://trino.io/docs/current/functions/aggregate.html#
Use case
simple the SQL statement
Related issues
No response
Are you willing to submit PR?
Code of Conduct