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.
第1题:
Despite the wonderful acting and well-developed plot the _________ movie could not hold our attention.
A) three-hours B) three-hour
C) three-hours’ D) three-hour’s
选B
用破折号连接的作形容词不用复数.
第2题:
第3题:
3、Toast创建完毕后,需要显示出来此时需要调用以下哪个方法?()
A.makeText
B.show
C.create
D.view
第4题:
利用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职工表
第5题:
Do you need any rice? I can get some() you()the supermarket.
Ato;from
Bfor;to
Cfor;from
第6题:
Toast对象创建后,需要显示出来此时需要调用以下哪个方法?()
A.makeText
B.show
C.create
D.view