codice:
update tabella
set campoB = trim(substring_index(campoA,'-',1)),
campoC = trim(substring_index(campoA,'-',-1))