SELECT CITY, LENGTH(CITY)
FROM (
SELECT CITY, LENGTH(CITY)
FROM STATION
ORDER BY LENGTH(CITY) ASC, CITY ASC)
WHERE rownum = 1;
SELECT CITY, LENGTH(CITY)
FROM (
SELECT CITY, LENGTH(CITY)
FROM STATION
ORDER BY LENGTH(CITY) DESC, CITY ASC)
WHERE rownum = 1;