20MCA28P Practical III RDBMS LAB
20MCA28P Practical III RDBMS LAB
20MCA28P Practical III RDBMS LAB
Note: Create the following Tables, insert at least 10 rows into the table and
display the output with appropriate values.
1. To Insert ten records and display book, book_author and publisher table.
2. To Display Book_id,Title and Author_name.
3. To Display Publisher Name, Address and Phone number.
4. To Display Book_Id,Branch_id and Card_number.
5. To Display all Book_id and Branch_id and No_of_Copies.
6. To Display Branch_id and Branch_name.
7. Retrieve details of all books in the library – id, title, name of publisher, authors,
number of copies in each branch, etc.
8. Get the particulars of borrowers who have borrowed more than 3 books, but from
Jan 2017 to Jun 2017.
9. Delete a book in BOOK table. Update the contents of other tables to reflect this
data manipulation operation.
10.Partition the BOOK table based on year of publication. Demonstrate its working
with a simple query.
11.Create a view of all books and its number of copies that are currently available in
the Library.
1
2
2
3
3
4