mysql - add the same thing to a table column by sql command -
there table named test
. in it. there columns this:
001.jpg ... 999.jpg
now want use sql command add url before them. http://www.example.com/xxx/001.jpg
.....is there way this? thank you.
supposing field called url
, simple update
query do:
update test set url = concat("http://", url);
Comments
Post a Comment