题解 | #检索并列出已订购产品的清单#
检索并列出已订购产品的清单
https://www.nowcoder.com/practice/674d99a46a96494d8267ae4d162ed459
select order_num,prod_id,quantity
from OrderItems
where (prod_id='BR01' or prod_id='BR02' or prod_id='BR03') and quantity>=100
select order_num,prod_id,quantity
from OrderItems
where prod_id in ('BR01' ,'BR02' ,'BR03') and quantity>=100
两种方法,第一种有点麻烦了,(自己写出来的),考察where ** in ()
深信服公司福利 758人发布