试题详情
- 单项选择题 Examine the structure of the EMP_DEPT_VU view: Column Name Type Remarks EMPLOYEE_ID NUMBER From the EMPLOYEES table EMP_NAME VARCHAR2(30) From the EMPLOYEES table JOB_ID VARCHAR2(20) From the EMPLOYEES table SALARY NUMBER From the EMPLOYEES table DEPARTMENT_ID NUMBER From the DEPARTMENTS table DEPT_NAME VARCHAR2(30) From the DEPARTMENTS table Which SQL statement produces an error?()
A、SELECT * FROM emp_dept_vu;
B、SELECT department_id, SUM(salary) FROM emp_dept_vu GROUP BY department _ id;
C、SELECT department_id, job_id, AVG(salary) FROM emp_dept_vu GROUP BY department _ id, job_id;
D、SELECT job_id, SUM(salary) FROM emp_dept_vu WHERE department_id IN (10,20) GROUP BY job_id HAVING SUM (salary) > 20000
E、None of the statements produce an error; all are valid.
- E
关注下方微信公众号,在线模考后查看
热门试题
- Which of the followi
- You are managing a 2
- Given: What is
- You are w
- Which viewQ
- What command
- Which object privile
- What methods
- User ScottQ
- Examine the structu
- Your database is run
- An RMAN b
- Which of
- 写出数据库默认的两个用户的名称和密码。
- Which statement is t
- To control the exec
- Which two statements
- 在数据库启动后,用户权限、数据库对象的定
- ConsidertheMysqlEnte
- 查询出所有名字以’S’开始的员工()