Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dbgen/dss.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ CREATE TABLE ORDERS ( O_ORDERKEY INTEGER NOT NULL,
O_ORDERSTATUS CHAR(1) NOT NULL,
O_TOTALPRICE DECIMAL(15,2) NOT NULL,
O_ORDERDATE DATE NOT NULL,
O_ORDERPRIORITY CHAR(15) NOT NULL,
O_CLERK CHAR(15) NOT NULL,
O_ORDERPRIORITY CHAR(15) NOT NULL,
O_CLERK CHAR(15) NOT NULL,
O_SHIPPRIORITY INTEGER NOT NULL,
O_COMMENT VARCHAR(79) NOT NULL);

Expand Down
2 changes: 1 addition & 1 deletion dbgen/queries/1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ select
from
lineitem
where
l_shipdate <= date '1998-12-01' - interval ':1' day (3)
l_shipdate <= date '1998-12-01' - interval ':1' day
group by
l_returnflag,
l_linestatus
Expand Down
4 changes: 2 additions & 2 deletions dbgen/queries/13.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ from
(
select
c_custkey,
count(o_orderkey)
count(o_orderkey) c_count
from
customer left outer join orders on
c_custkey = o_custkey
and o_comment not like '%:1%:2%'
group by
c_custkey
) as c_orders (c_custkey, c_count)
)
group by
c_count
order by
Expand Down