blob: ff5036923a67f754a40927c40d3ad51b4d18507f [file] [log] [blame]
select *
from (
select a.l_orderkey, count(*) as cnt
from lineitem a
group by a.l_orderkey
) t
where t.cnt > 0
order by t.l_orderkey