62,272
社区成员
发帖
与我相关
我的任务
分享select 员工编号,职位编号,住宿标准名称 from A inner join B on A.postionid = B.postionid inner join C on A.standerid = C.standerid inner join D on A.departid = D.departid where employeeid = 'xxxxx'
select employeeid
,(select 职位名称 from 职位表 where 职位ID = table.postionid ) as 职位名称
,(select 住宿标准名称 from 住宿标准表 where 住宿标准ID = table.standerid ) as 住宿标准名称
,(select 部门名称 from 部门 where 部门ID = table.departid ) as 部门名称
from 表 as table