g0101_0200.s0183_customers_who_never_order.script.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-java11 Show documentation
Show all versions of leetcode-in-java11 Show documentation
Java Solution for LeetCode algorithm problems, continually updating
The newest version!
# Write your MySQL query statement below
# #Easy #Database #SQL_I_Day_1_Select #2022_06_27_Time_376_ms_(98.73%)_Space_0B_(100.00%)
SELECT c.Name as Customers
FROM Customers as c
LEFT JOIN Orders as o
ON c.Id = o.CustomerId
WHERE o.CustomerId is null