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

14 lines
520 B
SQL

drop table if exists t_00725_4;
drop table if exists s_00725_4;
create table t_00725_4(a Int64, b Int64, c String) engine = TinyLog;
insert into t_00725_4 values(1,1,'a'),(2,2,'b');
create table s_00725_4(a Int64, b Int64, c String) engine = TinyLog;
insert into s_00725_4 values(1,1,'a');
select t_00725_4.* from t_00725_4 all left join s_00725_4 on (s_00725_4.a = t_00725_4.a and s_00725_4.b = t_00725_4.b) where s_00725_4.a = 0 and s_00725_4.b = 0;
drop table if exists t_00725_4;
drop table if exists s_00725_4;