错误 - 无法绑定多部分标识符“Grant.EmpID”。
询问 -
select emp.EmpID,
COUNT(*) as CountRecords,
COUNT(GrantName) AS CountValues
From Employee as emp full join [Grant] as gr
on emp.EmpID = [Grant].EmpID
-- This is the cause for the error ! Change it to gr.EmpID
group by emp.EmpID
为什么会出现这个错误?我不能用真名和昵称称呼一个人吗?