mysql get longest string in column with each value code example Example: mysql get longest string in column ORDER BY LENGTH(description) DESC LIMIT 1