Postgres Set Null
UPDATE table1
SET column_a IS NULL
WHERE column_b = 'XXX';
Frightened Ferret
UPDATE table1
SET column_a IS NULL
WHERE column_b = 'XXX';