Posts

Showing posts from June, 2011

(MySQL) select the longest reccord in a table column

SELECT field_name FROM some_table WHERE length(field_name) = ( select max(length(field_name)) FROM some_table )