Weather Observation Station 5

  • + 0 comments

    select city, length from (select top 1 city,len(city) length, rank() over(order by len(city) asc, city asc) rnk from station union select top 1 city, len(city) length , rank() over(order by len(city) desc) rnk from station) as T order by len(city) asc