What is the need of VIEWS in DataBase
sanjeev singh
Select an image from your device to upload
A Database View is a subset of the database sorted and displayed in a particular way. For example, in an equipment database, perhaps you only wish to display the Weapons stored in the database. To do that you would create a Weapons view. The equipment database templates has a view for each equipment type, sorted by the name of the equipment.
For each view, you can control which columns are displayed, what order they are displayed in, how wide each column is, how the data is sorted, and what types of records to display.
A view called "All" is always defined and cannot be deleted. While you can change the sort order of this view, you cannot change which records are displayed. As the name of the view suggests, All records in the database are always displayed by the All view. However, feel free to change the column order or column widths as you'd like.
http://kalitinterviewquestions.blogspot.com/
The View is like a windows through which data on table can be viewed or changed.
A view is derive from another table or view which is fererred to as the base table of the view , A real table with data that is physically stored
A view is stored as a select statement only. It is a vertual table that is a table that does not physically exist in its own . It manipulates data in the underlying base table
USEAGES VIEWS:
Restring access to the database
Allowing user to make simple queries to retrive the result from complicated queries.
View allow the same data to be seen by different user in different ways.
hi,sanjeev
views are the important part of database we create views because :
if u don't want to show the whole data of your table than u can create views by views the only
data will be display wich u want and u can update the views like tables...
Thanks !