update column in postgresql code example
Example 1: alter column in table postgres
ALTER TABLE table_name
ALTER COLUMN column_name TYPE column_definition;
Example 2: update value postgresql
UPDATE table
SET column1 = value1,
column2 = value2 ,...
WHERE
condition;