Weather Observation Station 5

  • + 0 comments

    SET NOCOUNT ON;

    select distinct top 1 city,len(city) from STATION ORDER BY LEN(CITY) ASC, CITY ASC

    select distinct top 1 city,len(city) from STATION order by LEN(CITY) DESC, CITY DESC;

    go