Prepare > SQL > Basic Select > Revising the Select Query I
2023. 7. 6. 18:29ㆍHackerRank-My SQL
https://www.hackerrank.com/challenges/revising-the-select-query/problem?isFullScreen=true
문제
Query all columns for all American cities in the CITY table with populations larger than 100000. The CountryCode for America is USA.
코드
SELECT * FROM CITY
WHERE COUNTRYCODE = 'USA' AND POPULATION > 100000;
'HackerRank-My SQL' 카테고리의 다른 글
Prepare > SQL > Basic Select > Select All (0) | 2023.07.06 |
---|---|
Prepare > SQL > Basic Select > Revising the Select Query II (0) | 2023.07.06 |
Prepare > SQL > Advanced Select > New Companies (0) | 2023.06.27 |
Prepare > SQL > Advanced Join > 15 Days of Learning SQL (0) | 2023.06.19 |
Prepare > SQL > Advanced Select > Occupations (0) | 2023.06.14 |