postgres on update change also another column code example
Example: update value postgresql
UPDATE table
SET column1 = value1,
column2 = value2 ,...
WHERE
condition;
UPDATE table
SET column1 = value1,
column2 = value2 ,...
WHERE
condition;