某企业人事管理系统中有如下关系模式,员工表EmpCenrcpename,age,sal,in属性分别表示员工号,员工姓名、年龄、工资和部门名称,部门表Dept(dnamephone),属性分别表示部门名称和联系电话。需要查询其它部门比销售部门(Sales)所有员工年龄都要小的员工姓名及年龄,对应的SQL语句如下:SELECT ename,age FROM EmpWHERE age( )(SELECT age FROM EmpWHERE dname=’Sales’)AND(请作答此空);
2023-09-01
A.dname等于’Sales’
B.dname小于大于’Sales’
C.dname小于’Sales'
D.dname大于’Sales’
参考答案:B
B.dname小于大于’Sales’
C.dname小于’Sales'
D.dname大于’Sales’
参考答案:B
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_48.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_57.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_98.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_53.jpg)
热门标签