ClickHouse/tests/queries/0_stateless/01083_cross_to_inner_with_in_bug.sql

14 lines
307 B
MySQL
Raw Normal View History

2020-02-20 13:33:14 +00:00
drop table if exists ax;
drop table if exists bx;
create table ax (A Int64, B Int64) Engine = Memory;
create table bx (A Int64) Engine = Memory;
insert into ax values (1, 1), (2, 1);
insert into bx values (2), (4);
select * from bx, ax where ax.A = bx.A and ax.B in (1,2);
drop table ax;
drop table bx;