I have this page table below and I want to remove the numbering prefix of ‘999‘ from the column of template_id,
page_id template_id url
1 9991 a
2 9992 b
3 9993 c
4 4 d
so I can get the updated data below,
page_id template_id url
1 1 a
2 2 b
3 3 c
4 4 d
Any idea how I can remove this kind of prefix?
If you don’t want to make a complex query or if you need futher operation you can do: