Weather Observation Station 5

  • + 0 comments

    -- City with the shortest name SELECT TOP 1 CITY, LEN(CITY) AS NAME_LENGTH FROM STATION ORDER BY LEN(CITY), CITY;

    -- City with the longest name SELECT TOP 1 CITY, LEN(CITY) AS NAME_LENGTH FROM STATION ORDER BY LEN(CITY) DESC, CITY;