I\'m trying to set the value in one table to the sum of the values in another table. Something along these lines:
UPDATE table1 SET field1 = SUM(table2.fiel
Use:
UPDATE table1 SET field1 = (SELECT SUM(t2.field2) FROM TABLE2 t2 WHERE t2.field3 = field2)