본문 바로가기
반응형

hackerrank mysql30

[MySQL] Japanese Cities' Names SQL > Basic Select > Japanese Cities' Names Problem Query the names of all the Japanese cities in the CITY table. The COUNTRYCODE for Japan is JPN. The CITY table is described as follows: My Answer SELECT NAME FROM CITY WHERE COUNTRYCODE = 'JPN' 2021. 3. 29.
[MySQL] Japanese Cities Attributes SQL > Basic Select > Japanese Cities Attributes Problem Query all attributes of every Japanese city in the CITY table. The COUNTRYCODE for Japan is JPN. The CITY table is described as follows: My Answer SELECT * FROM CITY WHERE COUNTRYCODE = 'JPN' 2021. 3. 29.
[MySQL] Select By ID SQL > Basic Select > Select By ID Problem Query all columns for a city in CITY with the ID 1661. The CITY table is described as follows: My Answer SELECT * FROM CITY WHERE ID = 1661 2021. 3. 27.
[MySQL] Select All SQL > Basic Select > Select All Problem Query all columns (attributes) for every row in the CITY table. The CITY table is described as follows: My Answer SELECT * FROM CITY 2021. 3. 27.
[MySQL] Revising the Select Query II SQL > Basic Select > Revising the Select Query II Problem Query the NAME field for all American cities in the CITY table with populations larger than 120000. The CountryCode for America is USA. The CITY table is described as follows: My Answer SELECT NAME FROM CITY WHERE POPULATION > 120000 AND COUNTRYCODE = 'USA' 2021. 3. 26.
[MySQL] Revising the Select Query I SQL > Basic Select > Revising the Select Query I Problem Query all columns for all American cities in the CITY table with populations larger than 100000. The CountryCode for America is USA. The CITY table is described as follows: My Answer SELECT * FROM CITY WHERE POPULATION > 100000 AND COUNTRYCODE = 'USA' 2021. 3. 26.
반응형