[문제]
[MySQL]
SELECT employee_id
FROM Employees
WHERE salary < 30000
AND manager_id NOT IN (SELECT employee_id
FROM Employees)
ORDER BY employee_id ASC
'SQL > LeetCode' 카테고리의 다른 글
| [LeetCode] 3220. Odd and Even Transactions (0) | 2025.02.22 |
|---|---|
| [LeetCode] 2356. Number of Unique Subjects Taught by Each Teacher (0) | 2025.02.22 |
| [LeetCode] 1965. Employees With Missing Information (0) | 2025.02.21 |
| [LeetCode] 1934. Confirmation Rate (0) | 2025.02.21 |
| [LeetCode] 1907. Count Salary Categories (0) | 2025.02.21 |
