How can I get this Postgres statement to parse into Oracle 11g?
UPDATE teams as new
SET counter=old.counter,
task_counter=old.task_counter
FROM teams as old
WHERE new.is_old=0
AND old.is_old=1
AND new.name=old.name
AND new.county=old.county;
Thanks in advance.
This assumes that the sub-select will only return a single row for each name/county/is_old combination.