In php potresti fare così

Codice PHP:
$stringa preg_replace('#[ ]{2,}#'' '$stringa); 
Con mysql proprio non saprei.