mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
5 lines
114 B
SQL
5 lines
114 B
SQL
SELECT toUInt64(1) x FROM (select 1)
|
|
GROUP BY 1
|
|
HAVING x
|
|
IN ( SELECT countIf(y, z == 1) FROM (SELECT 1 y, 1 z) );
|