File size: 288 Bytes
59f720f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
-- using default substitutions
select
sum(l_extendedprice * l_discount) as revenue
from
lineitem
where
l_shipdate >= date '1994-01-01'
and l_shipdate < date '1994-01-01' + interval '1' year
and l_discount between .06 - 0.01 and .06 + 0.01
and l_quantity < 24;
where rownum <= -1;
|