First of all, I am a newbie in SQL, and I cannot realize how to solve this simple problem.
I have a table like this:
ID NAME PATH
----------------------------
1 Peter img_peter.png
2 Jon img_jon.png
3 Maria img_maria.png
I want to modify the column PATH
in order to replace the extension .png
to .jpg
.
Therefore, the output UPDATE should return:
ID NAME PATH
----------------------------
1 Peter img_peter.jpg
2 Jon img_jon.jpg
3 Maria img_maria.jpg
Any ideas? Thank you