题解 | #返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(一)#
返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(一)
http://www.nowcoder.com/practice/962b16554fbf4b99a87f4d68020c5bfb
select c.cust_email
from OrderItems a, Orders b, Customers c
where a.prod_id = 'BR01' and a.order_num = b.order_num and b.cust_id = c.cust_id