题解 | #返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(二)#
返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(二)
http://www.nowcoder.com/practice/c7aa73afc41f4dfc925baebdd175c345
select cust_email from OrderItems inner join Orders on OrderItems.order_num = Orders.order_num inner join Customers on Customers.cust_id=Orders.cust_id where OrderItems.prod_id='BR01';