Weather Observation Station 5

  • + 0 comments

    --MS SQL Server

    select distinct top 1 city, len(city) from station where len(city) = (select max(len(city)) from station) order by city;

    select distinct top 1 city, len(city) from station where len(city) = (select min(len(city)) from station) order by city;