본문 바로가기

Programming/SQL

[HackerRank] Basic Select : Employee Salaries (MySQL)

1. 문제 설명

문제 링크

2. 코드

SELECT name
FROM Employee
WHERE salary > 2000 and months <10
ORDER BY employee_id ASC;