Find the names of the customer that are not referred by the customer with id = 2
.
Return the result table in any order.
The result format is in the following example.
referee_id != 2
이거만 했는데, NULL
처리가 안되어 틀렸다.NULL
이 포함되어 있을 땐, NULL
처리도 확실히 해줘야 한다.SELECT name FROM Customer
WHERE referee_id IS NULL OR referee_id != 2