select order_num
from(
select order_num,sum(quantity) sum_q
from OrderItems
group by order_num
)t1
where sum_q>100
order by order_num