PostegResql обновление до NULL
UPDATE table1
SET column_a = NULL
WHERE column_b = 'XXX';
Ham-Solo
UPDATE table1
SET column_a = NULL
WHERE column_b = 'XXX';