你的意思是C表肯定有和A和B表关联的外键吧,而且你的表述有歧义,你可能要表达的意思是。insert into C(g)select A.m+B.e from A,B where这里写C与A和B表的外键关联关系。