从不订购的客户-leetcode
从不订购的客户
sql 编程
1. 地址
https://leetcode-cn.com/problems/customers-who-never-order/
2. 解法
子查询
select
    Name as Customers
from
    Customers
where
    Id not in (
        select
            distinct CustomerId
        from
            Orders
    )
本文来自博客园,作者:吴丹阳-V,转载请注明原文链接:https://www.cnblogs.com/wudanyang/p/13124512.html

                
            
        
浙公网安备 33010602011771号