How do I select the longest 'string' from a table when grouping
Try ORDER BY LENGTH(description) DESC
and use LIMIT 1
to only get the largest.
ORDER BY LENGTH(description) DESC LIMIT 1
This will sort the results from longest to shortest and give the first result (longest.)