I have Two tables in my access database
these tables are rela
Perform an update join by getting the SUM() first like
SUM()
UPDATE a SET a.remainder = x.SaleTotal FROM table1 a INNER JOIN (SELECT productname, SUM(sales) AS SaleTotal FROM TABLE2 GROUP BY productname) x ON a.productname = x.productname;