0% found this document useful (0 votes)
14 views

Views

Views in SQL

Uploaded by

yash garg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Views

Views in SQL

Uploaded by

yash garg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Views

AIM => To create and manipulate various database objects using vivews

A view is the tailored presentation of data contain in one or more table. It can
also be said as restricted view of the data. A view is a virtual table or a stored
query which takes the output of the query and treats it as a table.
The table upon which a view is created is called the base table.

A view is a logical table based on another table called as view.


A view contains on data of its own rather its like a window through which data from
table can be viewed or changed. The view is stored in the data dictionary.

Advantages of the view :-


1. It provides additional level of security to the table.
2. It hides the data complexity of the table.
3. It simplifies the usage by combining multiple tables into one.
4. It provides or represent the data in a different perspective.

Types of views :-
1. Horizontal View => It is imposed by 'where' clause.
2. Vertical View => It is imposed by 'select' clause.

You might also like