본문 바로가기

IT/코딩테스트

[Leetcode] 584. Find Customer Referee

728x90

https://leetcode.com/problems/find-customer-referee/

SELECT name FROM Customer WHERE referee_id IS NULL OR referee_id != 2;
728x90