Closed solangepaz closed 5 years ago
According to my notes, we used this query instead (by processing the subquery first):
select
ps_partkey,
sum(ps_supplycost * ps_availqty) as value
from
partsupp,
supplier,
nation
where
ps_suppkey = s_suppkey
and s_nationkey = n_nationkey
and n_name = 'GERMANY'
group by
ps_partkey
having
sum(ps_supplycost * ps_availqty) > 10
order by
value desc;
I don't guarantee that the current version supports this query since we have disabled some features for better usability (rather than covering every case).
I'm using the TPC-H queries you used in your paper, however, when I run query 11 I get this error:
The query is this: