10 Views
10 Views
1
What Is a View?
You can present logical subsets or combinations of data by creating views of tables. A
view is a logical table based on a table or another view. A view contains no data of its
own but is like a window through which data from tables can be viewed or changed.
The tables on which a view is based are called base tables. The view is stored as a
SELECT statement in the data dictionary.
EMPLOYEES table
Advantages of Views
To restrict To make complex
data access queries easy
• Views restrict access to the data because the view can display
selected columns from the table.
– Drop a synonym:
DROP SYNONYM d_sum;
Synonym dropped.