LeetCode 183 Customers who never ordered

topic

topic

Method (not in):

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

result:
result

Guess you like

Origin blog.csdn.net/weixin_43752257/article/details/113091055