case 后不是where而是when另:
select deptname  from ytdept where deptbh=ytpersonid.deptbh
select PCname from YtpersonClass where PCbh=ytperson.Pcbh
返回的结果可能有多条记录。