Brug en writable CTE:WITH new_a AS (UPDATE a SET rid=110 WHERE rid=1) UPDATE b SET rid=110 WHERE rid=1;