[sql] How to find longest string in the table column data