You are on page 1of 2

EXPERIMENT 3

Aim: To implement nested and correlated queries and to create


various views and indexes and to implement Cursors and
triggers using PL/SQL.

Write queries for:

1.Update title of books from 'Database Management


Systems' to 'DBMS'.

Input
SQL> update BOOK set Title=’DBMS’ where Title='Database Management
Systems' ;

2. Delete all entries from the Hostel column


of STUDENT table. Input
SQL> update STUDENT set Hostel=NULL;
3. Write SQL Queries for the following:
Input
(a) To display the details of all students.
SQL> select * from STUDENT;

You might also like