select order_num
from OrderItems
group by 
    order_num
having sum(quantity) >= 100
order by 
    order_num ASC;