ClickHouse/tests/queries/0_stateless/00744_join_not_found_column.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

38 lines
473 B
SQL

DROP TEMPORARY TABLE IF EXISTS test_00744;
CREATE TEMPORARY TABLE test_00744
(
x Int32
);
INSERT INTO test_00744 VALUES (1);
SELECT x
FROM
(
SELECT
x,
1
FROM test_00744
ALL INNER JOIN
(
SELECT
count(),
1
FROM test_00744
) jss2 USING (1)
LIMIT 10
);
SELECT
x,
1
FROM test_00744
ALL INNER JOIN
(
SELECT
count(),
1
FROM test_00744
) js2 USING (1)
LIMIT 10;