⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 1.3 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 1 of about 1 for super (0.001 sec.)
GROUPING SETS – DuckDB 9414
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... ty, zip), (country), (city), (zip), () . This produces 2^n grouping sets. Identifying Grouping Sets with GROUPING_ID() The super-aggregate rows generated by GROUPING SETS , ROLLUP and CUBE can often be identified by NULL -values returned for the respe ... ted by the grouping construct. The GROUPING_ID() or GROUPING() function is designed to identify which groups generated the super-aggregate rows in the result. GROUPING_ID() is an aggregate function that takes the column expressions that make up the gr ... ouping(s). It returns a BIGINT value. The return value is 0 for the rows that are not super-aggregate rows. But for the super-aggregate rows, it returns an integer value that identifies the combination of expressio ...
https://man.mtool.work/duckdb/1.3/sql/query_syntax/grouping_sets.html
PREV 1 NEXT
DuckDB 1.3 Documentation / man.mtool.work