HackerRank-My SQL
Prepare > SQL > Basic Select > Revising the Select Query I
stem_sw
2023. 7. 6. 18:29
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;