Library Management System
A Micro Project Report on
Library Management System using SQL/DBMS
Submitted by:
Sahil Maske
Under the Guidance of:
Prof. [Your Guide's Name]
Department of Computer Engineering
Wainganga Polytechnic, Sakoli
Academic Year: 2025-26
Certificate
This is to certify that the micro project titled “Library Management System using
SQL/DBMS” has been successfully completed by Sahil Maske under the guidance of Prof.
[Guide Name] in partial fulfillment of the requirement for the award of Diploma in
Computer Engineering, Wainganga Polytechnic, Sakoli during the academic year 2025-26.
Guide Signature: ___________________
HOD Signature: ___________________
Principal Signature: ___________________
Acknowledgment
I would like to express my sincere gratitude to our respected Principal, Head of Department,
and my guide Prof. [Guide Name] for their valuable guidance and support throughout this
project. I am also thankful to my classmates and friends who encouraged and helped me
complete this work successfully.
Index
1. Introduction
2. Objective
3. Scope of the Project
4. System Requirements
5. ER Diagram
6. Database Design
7. SQL Implementation
8. Output Screens / Results
9. Conclusion
10. Future Scope
1. Introduction
The Library Management System is a database project designed to manage library
operations efficiently. It automates book issue, return, and member management processes.
This project uses SQL/DBMS to store and manage data systematically.
2. Objective
- To create a database that stores all details about books and members.
- To automate book issue and return processes.
- To reduce manual errors in record keeping.
- To provide quick access to book and member information.
3. Scope of the Project
The project is suitable for small to medium-sized libraries. It helps manage books, authors,
and members effectively. The system can be extended to handle multiple branches and
integrate with online portals.
4. System Requirements
Hardware:
- Processor: Intel i3 or higher
- RAM: 4 GB or above
- Storage: 10 GB free space
Software:
- Operating System: Windows/Linux
- Database: MySQL / Oracle / SQL Server
- Tools: SQL Workbench / Oracle SQL Developer
5. ER Diagram
The ER diagram of the Library Management System includes the following entities:
- Books (Book_ID, Title, Author_ID, Publisher, Price)
- Members (Member_ID, Name, Address, Contact)
- Issue (Issue_ID, Book_ID, Member_ID, Issue_Date, Return_Date)
- Author (Author_ID, Author_Name)
Relationships:
- One Author can write many Books.
- One Member can issue many Books.
6. Database Design
The system includes the following tables:
1. Author(Author_ID INT PRIMARY KEY, Author_Name VARCHAR(50));
2. Book(Book_ID INT PRIMARY KEY, Title VARCHAR(100), Author_ID INT, Publisher
VARCHAR(50), Price DECIMAL(10,2), FOREIGN KEY(Author_ID) REFERENCES
Author(Author_ID));
3. Member(Member_ID INT PRIMARY KEY, Name VARCHAR(50), Address VARCHAR(100),
Contact VARCHAR(15));
4. Issue(Issue_ID INT PRIMARY KEY, Book_ID INT, Member_ID INT, Issue_Date DATE,
Return_Date DATE, FOREIGN KEY(Book_ID) REFERENCES Book(Book_ID), FOREIGN
KEY(Member_ID) REFERENCES Member(Member_ID));
7. SQL Implementation
Sample SQL Queries:
-- Insert Data
INSERT INTO Author VALUES (1, 'J.K. Rowling');
INSERT INTO Book VALUES (101, 'Harry Potter', 1, 'Bloomsbury', 500.00);
INSERT INTO Member VALUES (201, 'Amit Sharma', 'Nagpur', '9876543210');
INSERT INTO Issue VALUES (301, 101, 201, '2025-01-10', '2025-01-20');
-- Select Query
SELECT [Link], [Link], Issue.Issue_Date FROM Issue
JOIN Book ON Issue.Book_ID = Book.Book_ID
JOIN Member ON Issue.Member_ID = Member.Member_ID;
-- Update Query
UPDATE Book SET Price = 550 WHERE Book_ID = 101;
-- Trigger Example
CREATE TRIGGER trg_after_insert_issue
AFTER INSERT ON Issue
FOR EACH ROW
BEGIN
UPDATE Book SET Quantity = Quantity - 1 WHERE Book_ID = NEW.Book_ID;
END;
8. Output Screens / Results
Example Output:
Title: Harry Potter | Issued To: Amit Sharma | Issue Date: 2025-01-10 | Return Date: 2025-
01-20
All SQL queries executed successfully and data retrieved as expected.
9. Conclusion
The Library Management System efficiently manages the library’s daily operations. It
reduces manual effort, improves accuracy, and ensures data integrity using SQL features
such as joins, triggers, and constraints.
10. Future Scope
The system can be enhanced with features like:
- Online book search and reservation.
- Barcode integration.
- Fine calculation for late returns.
- Integration with mobile and web applications.