Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

max(comprimento(campo)) no mysql

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