https://leetcode-cn.com/problems/customers-who-never-order/description/
NOT IN
查找Customers 表中没有出现过在Orders 表中的CustomerId 字段的值
select Name as Customers from Customers where Id not in (select CustomerId from Orders);
https://leetcode-cn.com/problems/customers-who-never-order/description/
NOT IN
查找Customers 表中没有出现过在Orders 表中的CustomerId 字段的值
select Name as Customers from Customers where Id not in (select CustomerId from Orders);