You are viewing a single comment's thread. Return to all comments →
**MS SQL **
SELECT TOP 1 CITY,LEN(CITY) FROM STATION WHERE LEN(CITY) = (SELECT MIN(LEN(CITY)) FROM STATION) ORDER BY CITY ASC;
SELECT TOP 1 CITY,LEN(CITY) FROM STATION WHERE LEN(CITY) = (SELECT MAX(LEN(CITY)) FROM STATION) ORDER BY 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 →
**MS SQL **
SELECT TOP 1 CITY,LEN(CITY) FROM STATION WHERE LEN(CITY) = (SELECT MIN(LEN(CITY)) FROM STATION) ORDER BY CITY ASC;
SELECT TOP 1 CITY,LEN(CITY) FROM STATION WHERE LEN(CITY) = (SELECT MAX(LEN(CITY)) FROM STATION) ORDER BY CITY ASC;