sql >> Base de Datos >  >> RDS >> Mysql

max(longitud(campo)) en mysql

SELECT  name, LENGTH(name) AS mlen
FROM    mytable
ORDER BY
        mlen DESC
LIMIT 1