Coding Test

Leetcode - 607. Sales Person

Indo Yoon

문제

Loading...
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

정답

SELECT name
FROM SalesPerson
WHERE sales_id NOT IN (
    SELECT sales_id FROM Orders
    WHERE com_id IN
    (SELECT com_id from Company WHERE name = 'RED')
)