UPDATE c set price='select a.money from a inner join b on a.product_code=b.product_code AND b.date_order=a.date_receive
INNER JOIN c on a.product_code=c.product_code'
WHERE product_code='select a.product_code from a inner join b on a.product_code=b.product_code AND b.date_order=a.date_receive
INNER JOIN c on a.product_code=c.product_code'