SELECT COUNT(SAL) FROM EMP GROUP BY DEPTNO;意思是( )A.求每个部门中的工资B.求每个部门中工资的大小C.求每个部门中工资的综合D.求每个部门中工资的个数
SELECT COUNT(SAL) FROM EMP GROUP BY DEPTNO;意思是( )
A.求每个部门中的工资
B.求每个部门中工资的大小
C.求每个部门中工资的综合
D.求每个部门中工资的个数
相关考题:
检索最少有5名职工的每个部门的职工基本工资的总额,正确的语句是( )。A.SELECT部门号,COUNT(*),SUM(基本工资)FROM职工; HAVING COUNT(*)>=5B.SELECT部门号,COUNT(*),SUM(基本工资)FROM职工; GROUP BY基本工资HAVING COUNT(*)>=5C.SELECT部门号,COUNT(*),SUM(基本工资)FROM职工; GROUP BY部门号HAVING COUNT(*)>=5D.SELECT部门号,COUNT(*),SUM(基本工资)FROM职工; GROUP BY部门号WHERE COUNT(*)>=5
SELECT COUNT(SAL) FROM EMP GROUP BY DEPTNO;意思是________。 A.求每个部门中的工资B.求每个部门中工资的大小C.求每个部门中工资的总和D.求每个部门中工资的个数
检索最少有5名职工的每个部门的职工基本工资的总额( )。A.SELECT 部门号,COUNT(*),SUM(基本工资) FROM 职工; HAVING COUNT(*)>=5B.SELECT 部门号,COUNT(*),SUM(基本工资) FROM 职工; GROUP BY 基本工资 HAVING COUNT(*)>=5C.SELECT 部门号,COUNT(*),SUM(基本工资) FROM 职工; GROUP BY 部门号 HAVING COUNT(*)>=5D.SELECT 部门号,COUNT(*),SUM(基本工资) FROM 职工; GROUP BY 部门号 WHERE COUNT(*)>=5
求至少有两个职工的每个仓库的平均工资A.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表; HAVING COUNT(*)=2B.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表; GROUP BY 仓库号 HAVING COUNT(*)=2C.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表; GROUP BY 仓库号 SET COUNT(*)=2D.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表; GROUP BY 仓库号 WHERE COUNT(*)=2
求至少有两个职工的每个仓库的平均工资______。A.SELECT仓库号,COUNT(*),AVG(工资)FROM职工表; HAVINGCOUNT(*)>=2B.SELECT仓库号,COUNT(*),AVG(工资)FROM职工表; GROUPBY仓库号HAVING COUNT(*)>=2C.SELECT仓库号,COUNT(*),AVG(工资)FROM职工表; GROUPBY仓库号SET COUNT(*)>=2D.SELECT仓库号,COUNT(*),AVG(工资)FROM职工表; GROUPBY仓库号WHERE COUNT(*)>=2
设有“职工”表,表结构如下:职工(部门号C(2)、职工号C(4)、姓名C(8)、年龄N(2)、工资N(7,2))检索最少有3名职工的每个部门的职工工资的总额( )。A)SELECT部门号,COUNT(﹡),SUM(工资)FROM职工;HAVING COUNT(﹡)﹥=3B)SELECT部门号,COUNT(﹡),SUM(1资)FROM职工;GROUP BY基本工资HAVING COUNT(﹡)=3C)SELECT部门号,COUNT(﹡),SUM(1资)FROM职工;GROUP BY部门号HAVING COUNT(﹡)=3D)SELECT部门号,COUNT(﹡),SUM(T资)FROM职工;GROUP BY部门号WHERE COUNT(﹡)=3
求至少有两个职工的每个仓库的平均工资A.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表;HAVING COUNT(*)=2B.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表;GROUP BY 仓库号 HAVING COUNT(*)=2C.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表;GROUP BY 仓库号 SET COUNT(*)=2D.SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表;GROUP BY 仓库号 WHERE COUNT(*)=2
假设有职工表(职工号,仓库号,工资),将下面的SQL语句补充完整,求至少有两个职工的每个仓库的平均工资。SELECT仓库号,COUNT(﹡),AVG(工资)FROM职工;GROUP BY仓库号__________COUNT(﹡)=2
列出所有部门的职工人数(包括没有职工的部门) ()。A.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno=dept.deptno group by dept.deptno,dname;B.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno()=dept.deptno group by dept.deptno,dname;C.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno=dept.deptno() group by dept.deptno,dname;D.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno(