github.com/matrixorigin/matrixone@v0.7.0/pkg/sql/plan/tpch/q6.sql (about) 1 select 2 sum(l_extendedprice * l_discount) as revenue 3 from 4 lineitem 5 where 6 l_shipdate >= date '1994-01-01' 7 and l_shipdate < date '1994-01-01' + interval '1' year 8 and l_discount between 0.03 - 0.01 and 0.03 + 0.01 9 and l_quantity < 24;