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