I need to update all the rows on table A, where A.id = B.id and B.code is some value.
Something like:
UPDATE table_a
SET processed = 'Y'
WHERE table_a.id = table_b.id AND
table_b.code = 'ABC';
Does anyone know the correct way to do this?
Thanks!