题解 | #检索并列出已订购产品的清单#
检索并列出已订购产品的清单
https://www.nowcoder.com/practice/674d99a46a96494d8267ae4d162ed459
SELECT order_num,prod_id,quantity FROM OrderItems where quantity>=100 and prod_id in ('BR01','BR02','BR03')
注意写法:prod_id要为BR01、BR02 或BR03。
检索并列出已订购产品的清单
https://www.nowcoder.com/practice/674d99a46a96494d8267ae4d162ed459
SELECT order_num,prod_id,quantity FROM OrderItems where quantity>=100 and prod_id in ('BR01','BR02','BR03')
注意写法:prod_id要为BR01、BR02 或BR03。
相关推荐