请问关于嵌套查询
请教关于嵌套查询
select 公司名,职员 from 职员MT where 部门,部门号(select 部门,部门号 from
部门MT where 员工数 not is nul)
执行不了
请高手指点
------解决方案--------------------
select 公司名,职员 from 职员MT where (部门,部门号) in (select 部门,部门号 from
部门MT where 员工数 not is nul)
select 公司名,职员 from 职员MT where 部门,部门号(select 部门,部门号 from
部门MT where 员工数 not is nul)
执行不了
请高手指点
------解决方案--------------------
select 公司名,职员 from 职员MT where (部门,部门号) in (select 部门,部门号 from
部门MT where 员工数 not is nul)