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

Assignment No.-5

The document demonstrates creating views in SQL and updating base tables through views. It shows creating a simple view, an updatable view, attempting and failing to update a base table through a view, creating a view from multiple tables, successfully updating a base table through its view, and checking if a view is updatable.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Assignment No.-5

The document demonstrates creating views in SQL and updating base tables through views. It shows creating a simple view, an updatable view, attempting and failing to update a base table through a view, creating a view from multiple tables, successfully updating a base table through its view, and checking if a view is updatable.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

BansilalRamnathAgarwalCharitableTrust’s

VishwakarmaInstituteofTechnology, Pune-37
(AnautonomousInstituteofSavitribaiPhulePuneUniversity)

Department of Multidisciplinary
Engineering

Division B

Batch 3

GR-no 12320155

Rollno 77

Name SUMIT SHIVMURTI UMBARE


Title: Assignment No.-5

Execute DDL statements which demonstrate the use of views. Try to update
the base table using its corresponding view. Also consider restrictions on
updatable views and perform view creation from multiple tables.

Screenshots/Output:

1. Creating a Simple View:

2. Creating an Updatable View:

3. Attempting to Update the Base Table Using the View:


4. Creating a View from Multiple Tables:
5. Updating Base Table Using Corresponding View

6. Checking If a View Is Updatable:

You might also like