I couldn\'t find this question for MySQL so here it is:
I need to trim all double or more spaces in a string to 1 single space.
For example: \"The  
If you want to update the existing column which has multiple spaces into one then this update query will be helpful:
UPDATE your_table SET column_that_you_want_to_change= REGEXP_REPLACE(column_that_you_want_to_change, '[[:space:]]+', ' ');
your_table
column_that_you_want_to_change