Weather Observation Station 5

  • + 0 comments

    /* We find the city with the shortest name length*/ SELECT CITY, LENGTH(CITY) FROM STATION ORDER BY LENGTH(CITY) DESC, CITY ASC LIMIT 1; /And the we find the one with the longest name length/ SELECT CITY, LENGTH(CITY) FROM STATION ORDER BY LENGTH(CITY) ASC, CITY ASC LIMIT 1;