2
私は1:site_stock、2:item_add、3:stock_addという名前の3つのテーブルを持っています。今msアクセスクエリを実行する方法
UPDATE site_stock
SET quantity = ((select sum(sa.quantity) from stock_add as sa where sa.item_code='J-110') +
(select sum(ia.quantity) from item_add as ia where ia.item_code='J-110'))
WHERE item_code='J-110' and site_id=1;