Sign in
apache
/
datafusion
/
refs/heads/branch-51
/
.
/
benchmarks
/
queries
/
q6.sql
blob: 5806f980f808838f898b09c7c1e8f8f1d28e1e20 [
file
] [
log
] [
blame
]
select
sum
(
l_extendedprice
*
l_discount
)
as
revenue
from
lineitem
where
l_shipdate
>=
date
'1994-01-01'
and
l_shipdate
<
date
'1995-01-01'
and
l_discount
between
0.06
-
0.01
and
0.06
+
0.01
and
l_quantity
<
24
;