a
id,total_amountb
id,a_id,amounta,b一对多,统计出a.total_amount是多少,这句UPDATE SQL如何写