READ Free Dumps For Oracle- 1z0-007
Question ID 7931 | You need to perform certain data manipulation operations through a view called EMP_DEPT_VU, which you previously created. You want to look at the definition of the view (the SELECT statement on which the view was create.) How do you obtain the definition of the view?
|
Option A | Use the DESCRIBE command in the EMP_DEPT VU view.
|
Option B | Use the DEFINE VIEW command on the EMP_DEPT VU view.
|
Option C | Use the DESCRIBE VIEW command on the EMP_DEPT VU view
|
Option D | Query the USER_VIEWS data dictionary view to search for the EMP_DEPT_VU view.
|
Option E | Query the USER_SOURCE data dictionary view to search for the EMP_DEPT_VU view.
|
Option F | Query the USER_OBJECTS data dictionary view to search for the EMP_DEPT_VU view.
|
Correct Answer | D |
Explanation Explanation/Reference: Explanation: To look on the view definition you need to query the USER_VIEWS data dictionary view and search for the EMP_DEPT_VU view. Incorrect Answers A: You cannot see the definition of the view using the DESCRIBE command. B: There is no DEFINE VIEW command in Oracle. C: There is no DESCRIBE VIEW command in Oracle. E: You cannot use the USER_SOURCE data dictionary view to see the definition of your view: it is used to store system objects definitions only. F: You can find record about view in the USER_OBJECTS, but it does not contain the definition of the view itself. OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 291-301 Chapter 7: Creating Other Database Objects in Oracle
Question ID 7932 | Evaluate this SQL statement: SELECT e.EMPLOYEE_ID,e.LAST_NAME,e.DEPARTMENT_ID, d.DEPARTMENT_NAME FROM EMP e, DEPARTMENT d WHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID; In the statement, which capabilities of a SELECT statement are performed?
|
Option A | Selection, projection, join
|
Option B | Difference, projection, join
|
Option C | Selection, intersection, join
|
Option D | Intersection, projection, join
|
Option E | Difference, projection, product
|
Correct Answer | A |
Explanation Explanation/Reference: Explanation: Selection, projection and join capabilities of a SELECT statement are performed in this view. Incorrect Answers B: Selection is performed in this query, not difference. There is no capability with name difference for a SELECT statement exists. C: There is no intersection in this SELECT statement used. D: There is no intersection in this SELECT statement used. E: There is no difference or product capabilities exist for a SELECT statement. OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 20-21 Chapter 1: Overview of Oracle Databases