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.

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.


相关考题:

Believe it or not, Linda’s ( ) son can play the piano now. A、three-years oldB、three-year-oldC、three-year old

在数据库已打开的情况下,利用SQL命令从学生表中派生出含有“学号”、“姓名”和“年龄”字段的视图,下列语句正确的是A.CREATE VIEW xs_view AS; SELECT学号,姓名,年龄FROM学生表B.CREATE VIEW xs_view; SELECT学号,姓名,年龄FROM学生表C.CREATE VIEW xs_view AS; (SELECT学号,姓名,年龄FROM学生表)D.CREATE VIEW xs_view; (SELECT学号,姓名,年龄FROM学生表)

利用SQL命令从职工表中派生出含有“职工号”、“姓名”字段的视图,下列语句正确的是A) CREATE VIEW ZG_view; SELECT 职工号,姓名FROM职工表B.CREATE VIEW ZG_view AS; SELECT 职工号,姓名 FROM 职工表C.CREATE QUERY ZG_view; SELECT 职工号,姓名 FROM 职工表D.CREATE QUERY ZG_view AS; SELECT 职工号,姓名 FROM 职工表

为了了解每个栏目用户关注的主题,对原创主题创建视图主题view,属性包括主题编号、标题、用户账号、栏目名称、回复数、点击率和发布时间。CREATE VIEW 主题 view(主题编号,标题,用户账号,栏目名称,回复数,点击率,发布时间)AsSELECT主题.主题编号,标题,账号,名称,回复数,点击率,发布时间FROM主题,用户,栏目,((k)FROM回复主题(l))As AWHERE主题.用户编号=用户.用户编号AND主题.栏目编号=栏目.栏目编号AND(m)

Despitethewonderfulactingandwell-developedplotthe_________moviecouldnotholdourattention.A)three-hoursB)three-hourC)three-hours’D)three-hour’s

利用SQL命令从职工表中派生出含有“职工号”、“姓名”字段的视图,下列语句正确的是A.CREATE VIEW ZG_view; SELECT职工号,姓名FROM职工表B.CREATE VIEW ZG_view AS; SELECT职工号,姓名FROM职工表C.CREATE QUERY ZG_view; SELECT职工号,姓名FROM职工表D.CREATE QUERY ZG_view AS; SELECT职工号,姓名FROM职工表

Questions 14-15 refer to the following e-mail.From: Restaurant ManagementTo: All StaffAttention workers:Ally's Seafood House will be closed for an entire week at the beginning of March while our kitchen equipment is updated in accordance with the latest health standards. Specific dates for the closure will be announced as soon as we receive notification from the maintenance company.Unfortunately, hourly workers will be forced to take a week of unpaid leave during the scheduled maintenance, but it will not be subtracted from your allotted vacation days. Time off for salaried workers will be paid.Please direct any questions about the closure to your supervisor or shift manager.What does the notice mainly discuss?A. An approaching pay cutC. An upcoming renovationB. Employees' vacation schedulesD. Newly hired kitchen supervisors

Do you need any rice? I can get some() you()the supermarket.Ato;fromBfor;toCfor;from

3、Toast创建完毕后,需要显示出来此时需要调用以下哪个方法?()A.makeText  B.show    C.create   D.view

Toast对象创建后,需要显示出来此时需要调用以下哪个方法?()A.makeTextB.showC.createD.view