mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-18 21:44:02 +03:00
* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
21 lines
655 B
Plaintext
21 lines
655 B
Plaintext
USE tpch1;
|
|
select r_name, n_name from region left outer join nation on r_name = n_name where n_name is null;
|
|
r_name n_name
|
|
AFRICA NULL
|
|
AMERICA NULL
|
|
ASIA NULL
|
|
EUROPE NULL
|
|
MIDDLE EAST NULL
|
|
select n_nationkey, r_regionkey from nation left join region on r_regionkey=n_nationkey where r_regionkey < 2;
|
|
n_nationkey r_regionkey
|
|
0 0
|
|
1 1
|
|
select n_nationkey from nation left join region on r_regionkey=n_nationkey where (case when r_regionkey < 2 then 1 else 2 end) < 2;
|
|
n_nationkey
|
|
0
|
|
1
|
|
select n_nationkey, r_regionkey from nation left join region on r_regionkey=n_nationkey where (case when r_regionkey < 2 then 1 else 0 end) > 0;
|
|
n_nationkey r_regionkey
|
|
0 0
|
|
1 1
|