ClickHouse/tests/queries/0_stateless/00555_right_join_excessive_rows.sql

4 lines
202 B
MySQL
Raw Normal View History

SET any_join_distinct_right_table_keys = 1;
2018-01-09 17:31:52 +00:00
SET max_block_size = 10;
SELECT * FROM (select toUInt64(1) s limit 1) js1 any right join (select number s, s as x from numbers(11)) js2 using (s) ORDER BY s;