19-9-30 (database)

https://leetcode-cn.com/problems/customers-who-never-order/

Customer never ordered

select Customers.Name as Customers from Customers where Customers.Id not in (select Orders.CustomerId from Orders);

Personal understanding: As an entry-sql idiot, not in a good thing

 

Guess you like

Origin www.cnblogs.com/newliu/p/11613906.html