ClickHouse/tests/queries/0_stateless/03005_input_function_in_join.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
288 B
MySQL
Raw Normal View History

2024-03-04 14:37:49 +00:00
drop table if exists test;
create table test (a Int8) engine = MergeTree order by tuple();
INSERT INTO test
2024-03-04 14:37:49 +00:00
SELECT x.number FROM (
SELECT number
FROM system.numbers
LIMIT 10
) AS x
INNER JOIN input('a UInt64') AS y ON x.number = y.a
2024-03-04 14:37:49 +00:00
Format CSV 2
2024-03-04 14:37:49 +00:00
select * from test;
drop table test;