Eliminar espacio en mysql
UPDATE `table` SET `col_name` = REPLACE(`col_name`, ' ', '')
Difficult Dormouse
UPDATE `table` SET `col_name` = REPLACE(`col_name`, ' ', '')
`field` = TRIM(`field`);