blob: 62da3029469e41b7c7eb35530dc53f887bd984be [file] [log] [blame]
select sum(lo_extendedprice*lo_discount) as revenue
from lineorder, date
where lo_orderdate = d_datekey
and d_year = 1993
and lo_discount between 1 and 3
and lo_quantity < 25