栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 笔试题库

You created a view called EMP_DEPT_VU that contains three columns from the EMPLOYEES and D

笔试题库 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

You created a view called EMP_DEPT_VU that contains three columns from the EMPLOYEES and D

You created a view called EMP_DEPT_VU that contains three columns from the EMPLOYEES and DEPARTMENTS tables:EMPLOYEE_ID, EMPLOYEE_NAME AND DEPARTMENT_NAME.The DEPARTMENT_ID column of the EMPLOYEES table is the foreign key to the primary keyDEPARTMENT_ID column of the DEPARTMENTS table.You want to modify the view by adding a fourth column, MANAGER_ID of NUMBER data type from the EMPLOYEES tables.How can you accomplish this task? ()

A. ALTER VIEW EMP_dept_vu (ADD manger_id NUMBER);

B. MODIFY VIEW EMP_dept_vu (ADD manger_id NUMBER);

C. ALTER VIEW emp_dept_vu AS SELECt employee_id, employee_name, department_name, manager_id FROM employee e, departments d WHERe e.department _ id = d.department_id;

D. MODIFY VIEW emp_dept_vu AS SELECt employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERe e.department _ id = d.department_id;

E. CREATE OR REPLACe VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERe e.department _ id = d.department_id;

F. You must remove the existing view first, and then run the CREATE VIEW command with a new column list to modify a view.

正确答案:

参考E

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/765387.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号