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.
Weather Observation Station 5
Weather Observation Station 5
Sort by
recency
|
7258 Discussions
|
Please Login in order to post a comment
-- City with the shortest name SELECT TOP 1 CITY, LEN(CITY) AS NAME_LENGTH FROM STATION ORDER BY LEN(CITY), CITY;
-- City with the longest name SELECT TOP 1 CITY, LEN(CITY) AS NAME_LENGTH FROM STATION ORDER BY LEN(CITY) DESC, CITY;
select city,length(city) From station ORDER BY length(city),city LIMIT 1;
select city,length(city) From station ORDER BY length(city) DESC,city LIMIT 1;
SELECT CITY, LENGTH(CITY) AS LEN FROM STATION ORDER BY LEN ASC, CITY ASC LIMIT 1; SELECT CITY, LENGTH(CITY) AS LEN FROM STATION ORDER BY LEN DESC, CITY ASC LIMIT 1;
(select city,length(city) from station order by length(city),city limit 1) UNION (select city,length(city) from station order by length(city) desc,city limit 1)