ClickHouse/tests/queries/0_stateless/00881_unknown_identifier_in_in.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

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) );