LeetCode 584: Find Customer Referee
Problem Restatement We are given a table called Customer . Each row stores a customer, their name, and the ID of the customer who referred them. We need to return the names of customers who were not referred by the customer with id = 2 . That includes two kinds of customers: Customers whose referee_id is not 2 . Customers whose referee_id is NULL , meaning they were not referred...