ClickHouse/dbms/tests/queries/0_stateless/00725_join_on_bug_3.sql

15 lines
356 B
MySQL
Raw Normal View History

drop table if exists t;
drop table if exists z;
2018-10-02 18:14:37 +00:00
create table t(a Int64, b Int64) engine = TinyLog;
insert into t values(1,1);
insert into t values(2,2);
create table z(c Int64, d Int64, e Int64) engine = TinyLog;
insert into z values(1,1,1);
2018-10-02 18:14:37 +00:00
select * from t all left join z on (z.c = t.a and z.d = t.b);
2018-10-02 18:14:37 +00:00
drop table if exists t;
drop table if exists z;
2018-10-02 18:14:37 +00:00