UPDATE SQL SET NULL postgres code example Example: postegresql update to null UPDATE table1 SET column_a = NULL WHERE column_b = 'XXX';