Oracle
1Z0-007 · Question #3
1Z0-007 Question #3: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-007 to reveal the answer and full explanation for question #3. The question stem and answer options stay visible for context.
Question
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 key DEPARTMENT_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?
Options
- AALTER VIEW emp_dept_vu (ADD manager_id NUMBER);
- BMODIFY VIEW emp_dept_vu (ADD manager_id NUMBER);
- CALTER VIEW emp_dept_vu AS
- DMODIFY VIEW emp_dept_vu AS
- ECREATE OR REPLACE VIEW emp_dept_vu AS
- FYou must remove the existing view first, and then run the CREATE VIEW command with a new
Unlock 1Z0-007 to see the answer
You've previewed enough free 1Z0-007 questions. Unlock 1Z0-007 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.