We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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);
Weather Observation Station 5
You are viewing a single comment's thread. Return to all comments →
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);