题目内容:
利用SQL语句,检索仓库中至少有一名职工的仓库信息,正确的命令是
A.SELECT*FROM仓库表WHEREIN; (SELECT仓库号FROM职工表)
B.SELECT*FROM仓库表WHERENOTIN;
(SELECT仓库号FROM职工表)
C.SELECT*FROM仓库表WHERE仓库号EXISTS;
(SELECT*FROM职工表WHERE仓库号=仓库表.仓库号)
D.SELECT*FROM仓库表WHEREEXISTS;
(SELECT*FROM职工表WHERE仓库号=仓库表.仓库号)
参考答案:
答案解析: