g0501_0600.s0584_find_customer_referee.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-java21 Show documentation
Show all versions of leetcode-in-java21 Show documentation
Java-based LeetCode algorithm problem solutions, regularly updated
# Write your MySQL query statement below
# #Easy #Database #SQL_I_Day_1_Select #2022_08_10_Time_531_ms_(58.63%)_Space_0B_(100.00%)
SELECT name FROM customer where referee_id != 2 or referee_id is null;