题解 | #返回购买价格为 10 美元或以上产品的顾客列表#
返回购买价格为 10 美元或以上产品的顾客列表
http://www.nowcoder.com/practice/827eb2a210c64ccdb8ec28fe4c50c246
SELECT cust_id
FROM Orders
WHERE order_num IN (
SELECT order_num
FROM OrderItems
WHERE item_price>=10
)