I want to update field mpn with a part of field model. All records in field model with the string *R119336 have to copied to field mpn.
Fields: model -> mpn
Examples:
H251*R119336 will be R119336
HA3251*R905678 will be R905678
I do not know how to create a working SQL for this one. Hope you will help me.
If the issue is finding the value after the
*
, then usesubstring_index()
:As an update: