문제
모든 Lyft 운전자를 찾아서 연봉이 30,000 USD 이하이거나 70,000 USD 이상인 운전자를 구하세요.
검색된 기록과 관련된 모든 세부 정보를 출력하세요.
테이블설명
예상결과
✏️ 풀이
SELECT *
FROM lyft_drivers
WHERE yearly_salary <= 30000 OR yearly_salary >= 70000;
'[코딩테스트] > [SQL]' 카테고리의 다른 글
[StrataScratch - SQL] (Easy) Captain Base Pay (0) | 2025.04.19 |
---|---|
[StrataScratch - SQL] (Easy) Artist Appearance Count (0) | 2025.04.19 |
[StrataScratch - SQL] (Easy) Popularity of Hack (0) | 2025.04.18 |
[StrataScratch - SQL] (Easy) Find all posts which were reacted to with a heart (0) | 2025.04.17 |
[StrataScratch - SQL] (Easy) Abigail Breslin Nominations (0) | 2025.04.17 |