I have a column called <locations>
, I want to find all matching values (ex: Canada) and replace with a different value (ex: Mexico).
How do I go about that?
Thanks.
I have a column called <locations>
, I want to find all matching values (ex: Canada) and replace with a different value (ex: Mexico).
How do I go about that?
Thanks.
Like so:
update yourtable set locations = 'Mexico' where locations = 'Canada';
Hmm something like
UPDATE yourTable SET locations = 'Mexico' WHERE locations = 'Canada'