Mini project to handle the operations of Library Management System using SQL queries and PL/ SQL (use the concept of Cursor, Trigger, Procedure/ function, Package and Exception Handling).
I have created library management system ๐. This system contains the information about members, books, transaction about books and transaction_history. I have used the concept like cursor, trigger, exception handling and procedure.
-
The library has 3 kinds of members:
i. Monthly this member can borrow 4 books
ii. Yearly this member can borrow 2 books
iii. Lifetime this member can be borrow 6 books -
The same kind of a book cannot be borrowed by a member at one instance.
-
The fine amount should be calculated basing on the issue date ,return date and due date.
-
The fine amount can be 5/- per day.
-
When a book is issued automatically it should reflect in the book table.
- Issue Book Section
- Return Book Section
- Trigger to automatically increment and decrement the no. of books
- Trigger to move the data from the transaction to transaction history table upon deletion
Sorry, I'm not able to upload source code on GitHub because I've performed the project in Oracle Live SQL. But, you'll find all the code in Document. Thank You!
Feel free to open an issue. I'll be glad to help you.โค๏ธ