Customers Who Never Order
https://leetcode.com/problems/Customers-Who-Never-Order/

 

SELECT name AS Customers FROM Customers AS c
       LEFT JOIN Orders AS o ON o.customerId  = c.id
WHERE o.id is null

 

+ Recent posts