3. Database Objects Description Basic unit of storage; composed of rows and columns Logically represents subsets of data from one or more tables Generates primary key values Improves the performance of some queries Alternative name for an object Object Table View Sequence Index Synonym
11. Querying a View i SQL*Plus SELECT * FROM empvu80 ; Oracle Server USER_VIEWS EMPVU80 SELECT employee_id, last_name, salary FROM employees WHERE department_id=80; EMPLOYEES
12.
13.
14.
15.
16.
17.
18.
19. Denying DML Operations CREATE OR REPLACE VIEW empvu10 (employee_number, employee_name, job_title) AS SELECT employee_id, last_name, job_id FROM employees WHERE department_id = 10 WITH READ ONLY; View created.
20.
21.
22.
23.
24.
25.
26.
27.
28.
Notes de l'éditeur
Schedule: Timing Topic 20 minutes Lecture 20 minutes Practice 40 minutes Total