postgres update query to copy column value to another column code example Example: copy value from one column to another postgres UPDATE table SET columnB = columnA;