I'd like to run a query in postgres that finds all rows in a table with a filepath of cor/* and sets them to con/*.
In pseudocode:
UPDATE photo set filepath="con/*" where filepath="cor/*";
Please could anyone help me out with the correct postgres syntax? Is this possible in postgres?
Many thanks!