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

知识点:
1、在上题增加了having的使用
2、注意orderby的顺序仍然是在最后