You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
chore(codestyle): MCOL-5405: repace windows CRLF with virtious linux one
This commit is contained in:
committed by
Leonid Fedorov
parent
2e61c9909b
commit
13b23e8510
@ -8,18 +8,18 @@
|
||||
-- source ../include/have_columnstore.inc
|
||||
|
||||
USE ssb1;
|
||||
# Q3.4
|
||||
select c_city, s_city, d_year, sum(lo_revenue)
|
||||
as revenue
|
||||
from dateinfo, customer,supplier, lineorder # changed order
|
||||
where lo_custkey = c_custkey
|
||||
and lo_suppkey = s_suppkey
|
||||
and lo_orderdate = d_datekey
|
||||
and (c_city='UNITED KI1'
|
||||
or c_city='UNITED KI5')
|
||||
and (s_city='UNITED KI1'
|
||||
or s_city='UNITED KI5')
|
||||
and d_yearmonth = 'Dec1997'
|
||||
and lo_orderdate between 19971201 and 19971231 # added matching predicate
|
||||
group by c_city, s_city, d_year
|
||||
order by d_year asc, revenue desc, c_city, s_city;
|
||||
# Q3.4
|
||||
select c_city, s_city, d_year, sum(lo_revenue)
|
||||
as revenue
|
||||
from dateinfo, customer,supplier, lineorder # changed order
|
||||
where lo_custkey = c_custkey
|
||||
and lo_suppkey = s_suppkey
|
||||
and lo_orderdate = d_datekey
|
||||
and (c_city='UNITED KI1'
|
||||
or c_city='UNITED KI5')
|
||||
and (s_city='UNITED KI1'
|
||||
or s_city='UNITED KI5')
|
||||
and d_yearmonth = 'Dec1997'
|
||||
and lo_orderdate between 19971201 and 19971231 # added matching predicate
|
||||
group by c_city, s_city, d_year
|
||||
order by d_year asc, revenue desc, c_city, s_city;
|
||||
|
Reference in New Issue
Block a user