题解 | 返回prod_id为BR01的所有顾客的电子邮件

返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(二)

https://www.nowcoder.com/practice/c7aa73afc41f4dfc925baebdd175c345

select c.cust_email
from Customers c
where c.cust_id in (
    select o.cust_id
    from Orders o
    left join OrderItems oi
    on oi.order_num = o.order_num
    where oi.prod_id = 'BR01'
)

全部评论

相关推荐

04-10 11:56
如皋中学 Java
高斯林的信徒:双c9能简历挂的?
点赞 评论 收藏
分享
刘湘_passion:出国旅游?那就小心你的腰子咯
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务