update in postgresql for null code example Example: postegresql update to null UPDATE table1 SET column_a = NULL WHERE column_b = 'XXX';