表1:Employee 字段:ID,Name
表2:Record   字段:Salary,EmployeeID如果我写这样的检索语句
select 
 SUM(Salary) as TotalSalary,Employee.Name 
 from Employee,Record 
 where Employee.ID=Record.EmployeeID
 group by EmployeeID检索的时候会出错。请问错在哪里。请高手赐教。