1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/srvswdev11/test102/q5.4.1.sql
2016-01-06 14:08:59 -06:00

9 lines
246 B
SQL
Executable File

select l_shipdate, sum(l_extendedprice), avg(p_retailprice)
from part, lineitem
where l_shipdate between '1993-01-01' and '1994-06-30'
and p_retailprice >= 2095
and p_size <= 5
and p_partkey = l_partkey
group by l_shipdate
order by 1;