47与48为同一道题,但是此题未看到提示用union ,看到48只能用单个的时候,才明白47要使用union 或union all 解答会更好

select prod_id,quantity from OrderItems
where quantity=100 union select prod_id,quantity from OrderItems
where prod_id like "BNBG%"
order by prod_id