I have a cidade_bairro
table with several cities and neighborhoods. I want to transfer this data to a new table, but on several lines instead of being in one.
EX:
Cidade Bairros<br>
SP | Consolação-Morumbi-Saude
In the new table "city_boirro2" would be separated into 3 lines:
Cidade Bairro
SP | Consolação
SP | Morumbi
SP | Saude
Can anyone help me perform this transfer via SQL MySQL?