반응형 CODING TEST/SQL : HackerRank31 [MySQL] Weather Observation Station 1 ▶ SQL > Basic Select > Weather Observation Station 1 Problem Query a list of CITY and STATE from the STATION table. The STATION table is described as follows: My Answer SELECT CITY, STATE FROM STATION 2021. 3. 30. [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. 이전 1 2 3 4 5 6 다음 반응형