统计每个部门中人数的语句是? A: select count(id) from emp order by deptno; B: select sum(id) from emp order by deptno; C: select count(id) from emp group by deptno; D: select sum(id) from emp group by deptno;
统计每个部门中人数的语句是? A: select count(id) from emp order by deptno; B: select sum(id) from emp order by deptno; C: select count(id) from emp group by deptno; D: select sum(id) from emp group by deptno;
查询部门20的员工数量,每个月的工资总和及平均工资( ) A: SELECT sum(nvl(sal,0)),avg(nvl(sal,0)) from emp B: SELECT ename,sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno C: SELECT ename,count(empno),sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno D: SELECT count(empno),sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno
查询部门20的员工数量,每个月的工资总和及平均工资( ) A: SELECT sum(nvl(sal,0)),avg(nvl(sal,0)) from emp B: SELECT ename,sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno C: SELECT ename,count(empno),sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno D: SELECT count(empno),sum(nvl(sal,0)),avg(nvl(sal,0)) from emp where deptno =20 group by deptno
在MYSQL数据库中以下语句错误的是() A: select-sal+1from-emp; B: select-sal*10,sal*deptnofrom-emp; C: select-sal*10,deptno*10-from-emp; D: select-sal*10,deptno*10-TO-emp;
在MYSQL数据库中以下语句错误的是() A: select-sal+1from-emp; B: select-sal*10,sal*deptnofrom-emp; C: select-sal*10,deptno*10-from-emp; D: select-sal*10,deptno*10-TO-emp;
以下语句不正确的是( ) A: select * from emp; B: select ename,hiredate,sal from emp; C: select * from emp order deptno; D: select * from where deptno=1
以下语句不正确的是( ) A: select * from emp; B: select ename,hiredate,sal from emp; C: select * from emp order deptno; D: select * from where deptno=1
以下语句不正确的是( ) A: select * from emp B: select ename,hiredate,sal from emp C: select * from emp order deptno D: select * from where deptno=1 and sal<300
以下语句不正确的是( ) A: select * from emp B: select ename,hiredate,sal from emp C: select * from emp order deptno D: select * from where deptno=1 and sal<300
智慧职教: 表结构如下:dept(deptno,dname),emp(empno,ename,job,hiredate,sal,deptno)。创建视图查询系部名称、教师姓名,职位,工资信息。
智慧职教: 表结构如下:dept(deptno,dname),emp(empno,ename,job,hiredate,sal,deptno)。创建视图查询系部名称、教师姓名,职位,工资信息。
以下语句正确的是() A: select<br/>sal+1 from emp; B: select<br/>sal*10,sal*deptno from emp; C: 不能使用运算符号 D: select<br/>sal*10,deptno*10 from emp;
以下语句正确的是() A: select<br/>sal+1 from emp; B: select<br/>sal*10,sal*deptno from emp; C: 不能使用运算符号 D: select<br/>sal*10,deptno*10 from emp;
Consider the following query:SELECT dname, ename FROM dept d, emp e Where d.deptno=c.deptno ORDER BY dname, ename;What type of join is shown?() A: Self-join B: Equijoin C: Outerjoin D: Non-equijoin
Consider the following query:SELECT dname, ename FROM dept d, emp e Where d.deptno=c.deptno ORDER BY dname, ename;What type of join is shown?() A: Self-join B: Equijoin C: Outerjoin D: Non-equijoin
现有关系模式: EMP(empno,ename,mgr,sal,workday) 以及DEPT(deptno,dname,loc) ,以下视图中不可能更新的为________
现有关系模式: EMP(empno,ename,mgr,sal,workday) 以及DEPT(deptno,dname,loc) ,以下视图中不可能更新的为________
以下语句不正确的是() A: selectsal+1fromemp; B: selectsal*10,sal*deptnofromemp; C: select语句不能使用算术运算符号 D: selectsal*10,deptno*10fromemp;
以下语句不正确的是() A: selectsal+1fromemp; B: selectsal*10,sal*deptnofromemp; C: select语句不能使用算术运算符号 D: selectsal*10,deptno*10fromemp;