mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
8 lines
235 B
Plaintext
8 lines
235 B
Plaintext
-- { echoOn }
|
|
SELECT f1, f2['2'], count() FROM t1 GROUP BY 1,2 order by 1,2;
|
|
1 1000111
|
|
SELECT f1, f3['2'], count() FROM t1 GROUP BY 1,2 order by 1,2;
|
|
1 1000111
|
|
SELECT f1, f4[2], count() FROM t1 GROUP BY 1,2 order by 1,2;
|
|
1 0 1000111
|