I would like to rewrite a number of user id which is splited by "-" between text and number. For example:
- KT-12345
- BA-98765
- CC-98765
- ITA-87987
From a huge amount of data which is mixed up with text and number. For example:
- KT98798
- CC94788
- BB87600
So the question is : I would like to make the user id from the 2nd examples into the first one. How to achieve it in MySQL. Please suggest.