Weather Observation Station 5

  • + 1 comment

    Here's the solution, more simple that we actually thought.

    (select city, length(city) as lencity from station order by lencity desc, city limit 1) union (select city, length(city) as lencity from station order by lencity asc, city limit 1);