All About View in Oracle SQL Database
What is a View in Oracle SQL Database?
A view is a logical table based on table or another view which is used to present the combinations of data present in the database. A view as itself doesn’t contain any data but it is more like a window through which the data from the tables can be viewed or changed. The table on which view is based is known as the base table and view is stored as a select statement in the data dictionary.
Advantages of Creating a View:-
- It restricts the data access to predefined tables and columns so that a database user can see only information relevant for him.
- It makes the complex queries easy.
- Provides the data independence.
- Can be used to present the different views of the same data.
There are majorly two types of views:-
1. Simple Views
2. Complex Views
The major difference b/w the two lies in the DML operations.
