有职工表(姓名、薪水、部门编号),部门表(部门编号、部门名称、办公地址),现查询办公室地址为“栖凤楼A座401”的所有员工信息,下列SQL语句正确的是( )
A.
select姓名,薪水from职工表,部门表where办公地址=’栖凤楼A座401’
B.
select姓名,薪水from职工表,部门表where部门编号is(select部门编号from部门表where办公地址=’栖凤楼A座401’)
C.
select姓名,薪水from职工表,部门表where部门编号=(select部门名称from部门表where办公地址=’栖凤楼A座401’)
D.
select姓名,薪水from职工表,部门表where部门编号=(select部门编号from部门表where办公地址=’栖凤楼A座401’)