Weather Observation Station 5

Sort by

recency

|

6795 Discussions

|

  • + 0 comments

    SELECT CITY, LENGTH(CITY) AS OUTPUT FROM STATION ORDER BY LENGTH(CITY) DESC, CITY ASC LIMIT 1; SELECT CITY, LENGTH(CITY) AS OUTPUT2 FROM STATION ORDER BY LENGTH(CITY), CITY ASC LIMIT 1;

  • + 0 comments

    SELECT city, LENGTH(city) AS cityLength FROM STATION ORDER BY LENGTH(city), city LIMIT 1; SELECT city, LENGTH(city) AS cityLength FROM STATION ORDER BY LENGTH(city) DESC, city LIMIT 1;

  • + 0 comments

    (select city,length(city) as length from station where length(city) = (select max(length(city)) from station) order by city limit 1) union all (select city,length(city) as length from station where length(city) = (select min(length(city)) from station) order by city limit 1)

  • + 0 comments

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

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

    --

  • + 1 comment

    select city, length(city) from station where length(city) = (select MIN(length(city)) from station ) order by city ASC limit 1;

    select city, length(city) from station where length(city) = (select MAX(length(city)) from station ) order by city ASC limit 1;