两个表每个编号的数量相加我有一个退货表(th)和库存表(kc)怎么才能每一个编号的退货的数量与库存数量相加得到新的库存数量[解决办法]select th.amount+kc.amount from th inner join kc on th.id=kc.id[解决办法]或是select th.amount+kc.amount from th,kc where th.id=kc.id