题解 | 返回购买价格为 10 美元或以上产品的顾客列表
SELECT cust_id FROM Orders WHERE order_num IN ( SELECT order_num FROM OrderItems WHERE item_price>=10);
IN括号里面不需;
SELECT cust_id FROM Orders WHERE order_num IN ( SELECT order_num FROM OrderItems WHERE item_price>=10);
IN括号里面不需;
相关推荐