Q : CITY 테이블에서 countrycode가 USA이면서 population이 120000을 초과하는 name을 가져오라
select name from city
where population > 120000 and countrycode='USA';
문제출처 : HackerRank
문제풀이 : 나 (영어해석 및 SQL이 틀릴 수 있음)
'SQL공부' 카테고리의 다른 글
| [HackerRank 해커랭크] Employee Salaries (0) | 2022.11.09 |
|---|---|
| [HackerRank 해커랭크] Employee Names (0) | 2022.11.09 |
| [HackerRank 해커랭크] Weather Observation Station 11 (0) | 2022.11.09 |