You are viewing a single comment's thread. Return to all comments →
SELECT TOP 1 CITY, LEN(CITY) FROM STATION ORDER BY LEN(CITY)ASC, CITY ASC;
SELECT TOP 1 CITY, LEN(CITY) FROM STATION ORDER BY LEN(CITY) DESC, CITY ASC;
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 5
You are viewing a single comment's thread. Return to all comments →
Simple Answer is the Greatest
SELECT TOP 1 CITY, LEN(CITY) FROM STATION ORDER BY LEN(CITY)ASC, CITY ASC;
SELECT TOP 1 CITY, LEN(CITY) FROM STATION ORDER BY LEN(CITY) DESC, CITY ASC;