Weather Observation Station 5

  • + 1 comment

    (select a.city, length(a.city) as l1 from station a inner join (select max(length (city)) as max_len , min(length (city)) as min_len from station ) c on length(a.city) = c.max_len) union (select a.city, length(a.city) as l1 from station a inner join (select max(length (city)) as max_len , min(length (city)) as min_len from station ) c on length(a.city) = c.min_len order by a.city limit 1)