Write a solution to find the names of all the salespersons who did not have any orders related to the company with the name "RED"
.
Return the result table in any order.
The result format is in the following example.
Lv3
정도 되는 듯SELECT S.name FROM SalesPerson as S
WHERE S.sales_id NOT IN (
SELECT O.sales_id FROM Orders as O LEFT JOIN Company as C
ON O.com_id = C.com_id WHERE C.name = 'RED'
)