ClickHouse/tests/queries/0_stateless/00725_join_on_bug_3.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

15 lines
476 B
SQL

drop table if exists t_00725_3;
drop table if exists z_00725_3;
create table t_00725_3(a Int64, b Int64) engine = TinyLog;
insert into t_00725_3 values(1,1);
insert into t_00725_3 values(2,2);
create table z_00725_3(c Int64, d Int64, e Int64) engine = TinyLog;
insert into z_00725_3 values(1,1,1);
select * from t_00725_3 all left join z_00725_3 on (z_00725_3.c = t_00725_3.a and z_00725_3.d = t_00725_3.b);
drop table if exists t_00725_3;
drop table if exists z_00725_3;