基本这样
select a.字段1,a.字段2,sum(b.业绩) from a inner join b on a.员工ID=b.员工ID group by a.字段1,a.字段2
a表以2个字段为例,如果还有更多,在select后边加上,group by后边也加上