答案 0 :(得分:0)
您可以加入信息并将效果与平均值进行比较
select Employee, JobPosition, [Performance Score], [Ave. Performance]
, case
when Emp.[Performance Score] >= [Ave. Performance] then 'Meet'
else 'Does not meet'
end AS PerfResult
from Emp
inner join Perf on Perf.JobPosition = Emp.JobPosition