mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 14:57:08 +00:00
7 lines
200 B
SQL
7 lines
200 B
SQL
# Write your MySQL query statement below
|
|
SELECT
|
|
cus.name as Customers
|
|
FROM Customers as cus
|
|
LEFT JOIN Orders ON cus.id = Orders.customerId
|
|
GROUP BY cus.id
|
|
HAVING count(Orders.customerId) = 0; |