문제출처 HACKER RANK
문제의 저작권은 해커랭크에 있습니다
-- Weather Observation Station 5
SELECT CITY, LENGTH(CITY)
FROM STATION
ORDER BY LENGTH(CITY) ASC, CITY ASC LIMIT 1;
-- 오름차순, 내림차순 SELECT 문 2개를 붙여준다.
SELECT CITY, LENGTH(CITY)
FROM STATION
ORDER BY LENGTH(CITY) DESC, CITY ASC
LIMIT 1