https://leetcode.com/problems/sales-person/
믿기진 않지만 best와 동일
select name
from SalesPerson
where sales_id not in (select distinct sales_id from Orders where com_id = (select com_id from Company where name = 'RED'))
728x90
반응형
'자료구조 알고리즘 > 코딩테스트' 카테고리의 다른 글
61. Rotate List (0) | 2022.06.09 |
---|---|
1741. Find Total Time Spent by Each Employee (0) | 2022.06.09 |
197. Rising Temperature (0) | 2022.06.03 |
1148. Article Views I (0) | 2022.06.03 |
1581. Customer Who Visited but Did Not Make Any Transactions (0) | 2022.06.03 |