๋ฐ์ํ
๋ฌธ์
https://www.hackerrank.com/challenges/weather-observation-station-6/problem
Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
์ ๋ต
SELECT DISTINCT CITY
FROM STATION
WHERE CITY LIKE 'A%'
OR CITY LIKE 'E%'
OR CITY LIKE 'I%'
OR CITY LIKE 'O%'
OR CITY LIKE 'U%'
๋ฐ์ํ
'Algorithm > SQL Query test' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[MySQL] HackerRank - Weather Observation Station 8 (0) | 2021.07.22 |
---|---|
[MySQL] HackerRank - Weather Observation Station 7 (0) | 2021.07.22 |
[MySQL] HackerRank - Weather Observation Station 5 (0) | 2021.07.22 |
[MySQL] HackerRank - Weather Observation Station 4 (0) | 2021.07.20 |
[MySQL] HackerRank - Weather Observation Station 3 (0) | 2021.07.20 |