这个sql有什么毛病?请帮我看看,谢谢
bsd 2002-11-22 09:47:26
CREATE VIEW employee_view
AS
select a.objid, a.employee_id, a.local_name,
english_name = isNull(b.english_name,a.english_name),
a.email,
department = isNull(b.department,a.org_name) ,
a.proxy_id,
status = IIf(a.on_duty,'resign','on duty'),
a.extension
from employee_a as a left join employee_b as b
on a.employee_id = b.employee_id