题解 | #返回购买价格为 10 美元或以上产品的顾客列表#
返回购买价格为 10 美元或以上产品的顾客列表
http://www.nowcoder.com/practice/827eb2a210c64ccdb8ec28fe4c50c246
SELECT d.cust_id FROM OrderItems i,Orders d WHERE i.order_num = d.order_num AND i.item_price >= 10 GROUP BY cust_id
返回购买价格为 10 美元或以上产品的顾客列表
http://www.nowcoder.com/practice/827eb2a210c64ccdb8ec28fe4c50c246
SELECT d.cust_id FROM OrderItems i,Orders d WHERE i.order_num = d.order_num AND i.item_price >= 10 GROUP BY cust_id
相关推荐