Published on

Leetcode - 607. Sales Person

Authors
  • avatar
    Name
    Indo Yoon
    Twitter
Table of Contents

문제

[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.

LeetCode

](https://leetcode.com/problems/sales-person/)

정답

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')
)