You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-25 20:23:16 +03:00
8 lines
392 B
Plaintext
8 lines
392 B
Plaintext
USE tpch1;
|
|
select count(n_nationkey) from nation n join region r on n_regionkey = r_regionkey and n_nationkey in (select distinct n_regionkey from nation where n.n_nationkey < 10);
|
|
count(n_nationkey)
|
|
5
|
|
select count(n_nationkey) from nation n join region r on n_regionkey = r_regionkey and n_nationkey in (select distinct n_regionkey from nation where n.n_name <> 'abc');
|
|
count(n_nationkey)
|
|
5
|