[LeetCode/MySQL50] 584. Find Customer Referee
2025. 1. 11. 10:41ㆍ개인활동/코테
반응형
Problem
Solution
# Write your MySQL query statement below
select name from Customer
where referee_id != 2 or referee_id is null;
MySQL에서 다르다는 표현은 != 를 사용하는 방법도 있지만, <> 를 사용하는 방법도 있다!
반응형
'개인활동 > 코테' 카테고리의 다른 글
[LeetCode/MySQL50] 1148. Article Views I (1) | 2025.01.12 |
---|---|
[LeetCode/MySQL50] 595. Big Countries (0) | 2025.01.12 |
[LeetCode/MySQL50] 1757. Recyclable and Low Fat Products (0) | 2025.01.11 |
백준 15439 : 베라의 패션 (0) | 2025.01.09 |
백준 2789번 : 블랙잭 (2) | 2025.01.09 |