How do I select the longest ‘string’ from a table when grouping December 31, 2022 by Tarik Try ORDER BY LENGTH(description) DESC and use LIMIT 1 to only get the largest.