Professional Documents
Culture Documents
Library Mangement System (2)
Library Mangement System (2)
BELAGAVI, 590014
Shri. B. V. V. Sangha’s
2023-2024
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Project Report On
Submitted By:
NAME USN
MR. ABHINAV KORA 2LB22AI001
MR. AKSHAY VK 2LB22AI002
MR. ARYAN NIGADE 2LB22AI003
Under the Guidance of
BGMIT, Mudhol.
Shri. B. V. V. Sangha’s
CERTIFICATE
This is to certify that the Project work entitled “LIBRARY
MANAGEMENT SYSTEM”, is a bonfide work carried out by Mr. Abhinav
Kora USN:2LB22AI001, Mr. Akshay VK. USN:2LB22AI002, Mr. Aryan
Nigade, in the partial fulfilment of the award of Bachelor of Engineering in
Artificial Intelligence and Machine Learning, BGMIT, Mudhol from
Visvesvaraya Technological University, Belagavi during the year 2023-24. The
Project work report has been approved as it satisfies the academic requirement in
respect of project prescribed for the aforesaid degree.
Guide HOD
Prof. Aravind Bijargi Prof. Vinayak A. Telsang
ACKNOWLEDGEMENT
First and foremost, we deeply express our sincere gratitude to our guide Prof.
Aravind Bijaragi, Assistant Professor Department of Artificial Intelligence and
Machine Learning, BGMIT, Mudhol, for his able guidance and coordinator,
regular source ofencouragement and assistance throughout this work.
Last, but not the least, we would like to thank our parents and friends who
provided us their valuable suggestions.
DECLARATION
We, Mr. Abhinav Kora USN:2LB22AI001, Mr. Akshay VK. USN:2LB22AI002, Mr.
Aryan Nigade USN:2LB22AI003 the students of IV semester B.E in Artificial
Intelligence and Machine Learning, Biluru Gurubasava Institute of Technology,
Mudhol, affiliated to Visvesvaraya Technological University, Belagavi. Hereby declare
that we have independently carried out project title “LIBRARY MANAGEMENT
SYSTEM” , and submitted in partial fulfilment of the requirements for the award of
degree in Bachelor of Engineering during the academic year 2023-24.
USN: 2LB22AI001
Mr. Akshay VK
USN: 2LB22AI002
USN: 2LB22AI003
ABSTRACT
This system serves as a central hub for managing the library's inventory, user
accounts, and transactions, integrating various tasks into a seamless workflow. The
LMS allows librarians to catalogue new acquisitions with detailed metadata,
including author, title, genre, publication date, and other relevant information. It
supports various classification systems such as Dewey Decimal and Library of
Congress, ensuring consistent organization and easy retrieval of materials.
CONTENT
CHAPTER I INTRODUCTION 01
1.1 The Role of a Library System
1.2 Core Components of Library Management System
1.3 Challenges and Opportunities
1.4 The Future of Library System Management
3.2 Relationship
3.3 Summary
CHAPTER V NORMALIZATION 14
7.2 Conclusion
REFERENCE 28
LIST OF FIGURES
Library system management is a multifaceted discipline encompassing the administration, organization, and
supervision of library resources and services. As libraries continue to evolve from traditional repositories of books to
dynamic centres of digital information and community engagement, effective management has become crucial to
meeting the diverse needs of patrons.
A Library Management System (LMS) plays a crucial role in streamlining and optimizing the operations of a library.
It serves as an integrated platform that manages various functions such as cataloging, acquisition, circulation, and
inventory control. By automating routine tasks, an LMS enhances the efficiency and accuracy of managing both
physical and digital collections. It enables library staff to maintain up-to-date records, track the movement of materials,
and provide quick access to information for users. Additionally, an LMS supports user services by offering features
like online catalogs, self-checkout options, and personalized account management, thereby improving the overall user
experience. With robust reporting and analytics capabilities, an LMS also aids in decision-making and strategic
planning, ensuring that library resources are effectively utilized to meet the evolving needs of the community.
• Collection Development and Management: This involves selecting, acquiring, and maintaining a balanced
and up-to-date collection that meets the informational, educational, and recreational needs of the community.
It includes managing both physical and electronic resources.
• Cataloging and Classification: Effective cataloging and classification systems, such as the Dewey Decimal
System or Library of Congress Classification, enable easy retrieval of materials. This ensures that users can
locate resources quickly and efficiently.
• Circulation Services: Managing the lending of library materials, including check-out/check-in processes,
tracking overdue items, and handling reserves and renewals, is a critical function. Automation and integrated
library systems (ILS) have streamlined these processes.
• Reference and Information Services: Aiding users in locating information, offering research support, and
conducting information literacy programs are essential services that enhance user experience and education.
• Technology Integration: The integration of advanced technologies, such as digital catalogs, online databases,
e-books, and library management software, has transformed modern libraries. This includes the use of RFID
for inventory management and digital interfaces for remote access.
• User Services and Community Engagement: Libraries play a vital role in community engagement by
organizing events, workshops, and reading programs. They offer spaces for collaboration, learning, and
cultural activities, fostering a sense of community.
Page | 1
Department of Artificial Intelligence and Machine Learning
Library Management System
1.3. Challenges and Opportunities
• Adapting to Digital Transformation: The shift from print to digital media presents both challenges and
opportunities. Libraries must balance traditional services with the demand for digital resources and online
access.
• Resource Management: Budget constraints and the need for efficient resource allocation require strategic
planning and innovative approaches to collection management and service delivery.
• Information Security and Privacy: Protecting user data and ensuring privacy in an increasingly digital
environment is a critical concern for library management.
Library Management Systems (LMS) present both challenges and opportunities in modern library administration. One
significant challenge is the integration of digital and physical resources, requiring libraries to maintain a seamless
interface between traditional book collections and digital media. Additionally, the rapid pace of technological
advancements necessitates continuous updates and training, which can strain budgets and resources. Data security and
privacy concerns also pose significant challenges as libraries handle sensitive user information.
However, these challenges bring opportunities for innovation and improved service delivery. LMS can
greatly enhance user experience through features like digital catalogs, mobile access, and personalized services,
making library resources more accessible. Furthermore, data analytics provided by LMS can offer valuable insights
into user behavior and preferences, enabling more targeted and efficient resource allocation. Ultimately, while the
implementation and maintenance of LMS require careful planning and investment, they offer significant potential to
enhance library operations and user satisfaction.
The future of library system management is poised to be shaped by ongoing technological advancements and evolving
user needs, transforming libraries into multifaceted hubs of information and community engagement. Digital
transformation will continue to play a pivotal role, with libraries increasingly adopting cloud-based systems, artificial
intelligence, and data analytics to streamline operations and enhance user experiences. The integration of augmented
reality (AR) and virtual reality (VR) could offer immersive learning and interactive experiences, broadening the scope
of library services. Moreover, libraries will likely expand their roles as community centers, offering diverse programs
that support digital literacy, lifelong learning, and cultural activities. Emphasis on sustainability and accessibility will
drive innovations in resource management and service delivery. By staying adaptable and user-focused, future library
system management will ensure libraries remain vital, inclusive, and dynamic spaces that cater to the diverse needs
of their communities.
Page | 2
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER II
REQUIREMENT ANALYSIS
A library database needs t store information pertaining to its users (or customers), its workers, the physical locations
of its branches, and the media stored in those locations. We have decided to limit the media to two types: books and
videos.
The library must keep track of the status of each media item: its location, status, descriptive attributes, and cost for
losses and late returns. Books will be identified by their ISBN, and movies by their title and year. In order to allow
multiple copies of the same book or video, each media item will have a unique ID number.
Customers will provide their name, address, phone number, and date of birth when signing up for a library card. They
will then be assigned a unique user name and ID number, plus a temporary password that will have to be changed.
Checkout operations will require a library card, as will requests to put media on hold. Each library card will have its
own fines, but active fines on any of a customer's cards will prevent the customer from using the library's services.
The library will have branches in various physical locations. Branches will be identified by name, and each branch
will have an address and a phone number associated with it. Additionally, a library branch will store media and have
employees.
Employees will work at a specific branch of the library. They receive a paycheck, but they can also have library cards;
therefore, the same information that is collected about customers should be collected about employees.
● Login
Page | 3
Department of Artificial Intelligence and Machine Learning
Library Management System
o Media on hold
• Put media on hold
• Pay fines for lost or late items
• Update personal information:
o Phone numbers
o Addresses
o Passwords
▪ Functions for librarians are the same as the functions for customers plus the following:
• Add customers
• Add library cards and assign them to customers
• Check out media
• Manage and transfer media that is currently on hold
• Handle returns
• Modify customers' fines
• Add media to the database
• Remove media from the database
• Receive payments from customers and update the customers'fines
• View all customer information except passwords
Library Management Systems (LMS) present both challenges and opportunities in modern library administration. One
significant challenge is the integration of digital and physical resources, requiring libraries to maintain a seamless
interface between traditional book collections and digital media. Additionally, the rapid pace of technological
advancements necessitates continuous updates and training, which can strain budgets and resources. Data security and
privacy concerns also pose significant challenges as libraries handle sensitive user information. However, these
challenges bring opportunities for innovation and improved service delivery. LMS can greatly enhance user
experience through features like digital catalogs, mobile access, and personalized services, making library resources
more accessible. Furthermore, data analytics provided by LMS can offer valuable insights into user behavior and
preferences, enabling more targeted and efficient resource allocation. Ultimately, while the implementation and
maintenance of LMS require careful planning and investment, they offer significant potential to enhance library
operations and user satisfaction.
Requirement analysis for a Library Management System (LMS) is a comprehensive process that involves several
detailed steps to ensure the final system meets the needs of its users and aligns with the library’s goals. Here is an
expanded explanation of this process:
Page | 4
Department of Artificial Intelligence and Machine Learning
Library Management System
1. Stakeholder Identification:
o Identify all stakeholders, including library staff (librarians, assistants, IT personnel), patrons, and
administrators. Each group has unique needs and expectations that must be considered.
2. Needs Assessment:
o Conduct surveys, interviews, focus groups, and observations to gather detailed information on what
each stakeholder requires from the LMS. This includes understanding current challenges, desired
features, and any specific workflows that need to be supported.
3. Functional Requirements:
o Define the core functionalities that the LMS must provide. This typically includes cataloging
(classification and metadata management), circulation (check-in/check-out, renewals, holds),
acquisitions (ordering, receiving, and invoicing materials), user account management (registration,
borrowing history, fines), and reporting (usage statistics, inventory reports).
4. Non-Functional Requirements:
o Identify non-functional requirements such as performance (response time, transaction throughput),
scalability (ability to handle increasing amounts of data and users), security (data protection, user
privacy), and usability (user-friendly interface, accessibility for people with disabilities).
5. Technical Requirements:
o Determine technical specifications such as the required software and hardware, integration
capabilities with existing systems (e.g., digital libraries, online databases, third-party services), and
compatibility with different devices and platforms.
6. Regulatory and Compliance Requirements:
o Ensure the LMS complies with relevant laws and standards, such as data protection regulations
(GDPR, HIPAA), copyright laws, and standards for accessibility (ADA).
7. Data Migration Requirements:
o Plan for the migration of existing data from legacy systems to the new LMS. This involves mapping
old data structures to new ones, ensuring data integrity, and minimizing downtime during the
transition.
8. Vendor Evaluation and Selection (if applicable):
o If purchasing a commercial LMS, evaluate potential vendors based on their ability to meet the
specified requirements. This may involve reviewing product documentation, requesting
demonstrations, and checking references from other libraries.
9. Prototyping and User Testing:
o Develop prototypes or conduct user testing sessions to gather feedback on the proposed system
design. This helps identify any usability issues and ensures the system meets user expectations.
10. Documentation:
Page | 5
Department of Artificial Intelligence and Machine Learning
Library Management System
o Document all requirements in a comprehensive and structured manner. This documentation serves
as a reference throughout the system development or selection process and ensures all stakeholders
are aligned on the project goals.
11. Review and Validation:
o Conduct review sessions with stakeholders to validate the requirements. This step ensures that all
needs have been accurately captured and that there is a shared understanding of what the LMS will
deliver.
Page | 6
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER III
An ER (Entity-Relationship) diagram for a library management system represents the relationships between various
entities within the system. Here's a detailed explanation of the ER diagram provided in the image:
1. Readers:
Page | 7
Department of Artificial Intelligence and Machine Learning
Library Management System
2. Books:
3. Publisher:
4. Authentication System:
5. Staff:
6. Reports:
3.2. Relationships:
2. Reserve/return date:
Page | 8
Department of Artificial Intelligence and Machine Learning
Library Management System
3. Publishes:
4. Login:
5. Manages:
6. Issue/Return:C
3.3. Summary:
The diagram effectively maps out the complex relationships in a library management system, ensuring that all entities
and their interactions are clearly defined.
Page | 9
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER IV
The provided image shows a relational database schema for a library management system. Here's
a detailed explanation of each table, its attributes, and the relationships between tables:
1. Status:
Page | 10
Department of Artificial Intelligence and Machine Learning
Library Management System
o Attributes: code, description
o Relationships: The code attribute is referenced by the Media table.
2. Media:
o Attributes: media_id, code
o Relationships: The code attribute is a foreign key referencing the Status table. The
media_id attribute is referenced by the BookMedia, Checkout, Hold, and Stored_In
tables.
3. Book:
o Attributes: ISBN, title, author, year, dewey, price
o Relationships: The ISBN attribute is referenced by the BookMedia table.
4. BookMedia:
o Attributes: media_id, ISBN
o Relationships:
▪ The media_id attribute is a foreign key referencing the Media table.
▪ The ISBN attribute is a foreign key referencing the Book table.
5. Customer:
o Attributes: ID, name, addr, DOB, phone, username, password
o Relationships: The ID attribute is referenced by the Card and Librarian tables.
6. Card:
o Attributes: num, fines, ID
o Relationships: The ID attribute is a foreign key referencing the Customer table.
The num attribute is referenced by the Checkout and Hold tables.
7. Checkout:
o Attributes: media_id, num, since, until
o Relationships:
▪ The media_id attribute is a foreign key referencing the Media table.
▪ The num attribute is a foreign key referencing the Card table.
8. Location:
o Attributes: name, addr, phone
o Relationships: The name attribute is referenced by the Hold and Stored_In tables.
9. Hold:
Page | 11
Department of Artificial Intelligence and Machine Learning
Library Management System
o Attributes: media_id, num, name, until, queue
o Relationships:
▪ The media_id attribute is a foreign key referencing the Media table.
▪ The num attribute is a foreign key referencing the Card table.
▪ The name attribute is a foreign key referencing the Location table.
10. Stored_In:
o Attributes: media_id, name
o Relationships:
▪ The media_id attribute is a foreign key referencing the Media table.
▪ The name attribute is a foreign key referencing the Location table.
11. Librarian:
o Attributes: eid, ID, Pay, name, since
o Relationships: The ID attribute is a foreign key referencing the Customer table.
• Status: Each status has a unique code which describes it. The code is used in the Media
table to describe the status of media items.
• Media: Each media item has a media_id and is associated with a code (status).
• Book: Each book has a unique ISBN and associated details such as title, author, year,
dewey decimal number, and price.
• BookMedia: This table links media_id from the Media table to ISBN from the Book table,
creating a relationship between media items and books.
• Customer: Each customer has a unique ID and personal details such as name, address,
date of birth, phone number, username, and password.
• Card: Each card has a num (card number), associated fines, and is linked to a Customer by
the ID attribute.
• Checkout: This table records the media_id of items checked out, the num (card number)
of the card used, and the since and until dates of the checkout period.
• Location: Each location has a unique name, address, and phone number.
Page | 12
Department of Artificial Intelligence and Machine Learning
Library Management System
• Hold: This table records holds placed on media items. It includes the media_id, num (card
number), name (location name), until date, and queue position.
• Stored_In: This table links media_id from the Media table to name from the Location
table, indicating where media items are stored.
• Librarian: Each librarian has a unique eid, is associated with a Customer by the ID, and
includes pay information, name, and the since date of employment.
This schema organizes the various aspects of a library management system, ensuring that
relationships between entities are clearly defined and maintained.
Page | 13
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER V
NORMALIZATION
Example:
Example:
o If the Loans table had attributes such as MemberName or BookTitle, they should
be removed because they depend on the MemberID and BookID, not on the
Page | 14
Department of Artificial Intelligence and Machine Learning
Library Management System
LoanID. Instead, these attributes should be accessed through joins with the
Members and Books tables.
3. Third Normal Form (3NF):
o Achieve 2NF.
o Ensure that all attributes are only dependent on the primary key.
o Remove transitive dependencies (where a non-key attribute depends on another
non-key attribute).
Example:
1. Books Table
o BookID (PK)
o Title
o Author
o PublisherID (FK)
Page | 15
Department of Artificial Intelligence and Machine Learning
Library Management System
o YearPublished
2. Members Table
o MemberID (PK)
o Name
o Address
o Phone
3. Loans Table
o LoanID (PK)
o BookID (FK)
o MemberID (FK)
o LoanDate
o ReturnDate
4. Publishers Table
o PublisherID (PK)
o Name
o Address
Example Queries
sql
Copy code
SELECT * FROM Books WHERE Author = 'AuthorName';
sql
Copy code
SELECT Books.Title, Loans.LoanDate, Loans.ReturnDate
FROM Loans
JOIN Books ON Loans.BookID = Books.BookID
WHERE Loans.MemberID = 'MemberID';
Page | 16
Department of Artificial Intelligence and Machine Learning
Library Management System
• To get the details of books published by a particular publisher:
sql
Copy code
SELECT Books.Title, Books.Author, Books.YearPublished
FROM Books
JOIN Publishers ON Books.PublisherID = Publishers.PublisherID
WHERE Publishers.Name = 'PublisherName';
Normalization is a key aspect of database design that ensures a well-structured, efficient, and
reliable library management system.
Page | 17
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER VI
The next step was to create the physical database and input some sample data. In order to turn the
relational design into a database, we ran the following script in Library Management System
database:
CREATE TABLE Status ( code INTEGER, description CHAR(30), PRIMARY KEY (code) );
CREATE TABLE Media( media_id INTEGER, code INTEGER, PRIMARY KEY (media_id),
FOREIGN KEY (code) REFERENCES Status );
CREATE TABLE Book(ISBNCHAR(14), title CHAR(128), author CHAR(64), year INTEGER, dewey
INTEGER, price REAL, PRIMARY KEY (ISBN) );
CREATE TABLE BookMedia( media_id INTEGER, ISBN CHAR(14), PRIMARY KEY (media_id),
FOREIGN KEY (media_id) REFERENCES Media,
FOREIGN KEY (ISBN) REFERENCES Book);
CREATE TABLE Customer( ID INTEGER, name CHAR(64), addr CHAR(256), DOB CHAR(10), phone CHAR(30),
username CHAR(16), password CHAR(32), PRIMARY KEY (ID), UNIQUE (username) );
CREATE TABLE Card( num INTEGER, fines REAL, ID INTEGER, PRIMARY KEY (num),
FOREIGN KEY (ID) REFERENCES Customer );
CREATE TABLE Checkout( media_id INTEGER, num INTEGER, since CHAR(10), until CHAR(10),
PRIMARY KEY (media_id), FOREIGN KEY (media_id) REFERENCES Media,
FOREIGN KEY (num) REFERENCES Card );
CREATE TABLE Location( name CHAR(64), addr CHAR(256), phone CHAR(30), PRIMARY KEY (name) );
CREATE TABLE Hold( media_id INTEGER, num INTEGER, name CHAR(64), until CHAR(10), queue INTEGER,
PRIMARY KEY (media_id, num),
FOREIGN KEY (name) REFERENCES Location,
FOREIGN KEY (num) REFERENCES Card,
FOREIGN KEY (media_id) REFERENCES Media );
CREATE TABLE Stored_In( media_id INTEGER, name char(64), PRIMARY KEY (media_id),
FOREIGN KEY (media_id) REFERENCES Media ON DELETE CASCADE,
FOREIGN KEY (name) REFERENCES Location );
CREATE TABLE Librarian( eid INTEGER, ID INTEGER NOT NULL, Pay REAL, Loc_name CHAR(64)
NOT NULL, PRIMARY KEY (eid),
FOREIGN KEY (ID) REFERENCES Customer ON DELETE CASCADE,
FOREIGN KEY (Loc_name) REFERENCES Location(name) );
Page | 18
Department of Artificial Intelligence and Machine Learning
Library Management System
Insertion and Modifying the data into the table into the Library Management System:
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(60201, 'Jason L. Gray', '2087 Timberbrook Lane, Gypsum, CO 81637',
'09/09/1958', '970-273-9237', 'jlgray', 'password1');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(89682, 'Mary L. Prieto', '1465 Marion Drive, Tampa, FL 33602',
'11/20/1961', '813-487-4873', 'mlprieto', 'password2');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(64937, 'Roger Hurst', '974 Bingamon Branch Rd, Bensenville, IL 60106',
'08/22/1973', '847-221-4986', 'rhurst', 'password3');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(31430, 'Warren V. Woodson', '3022 Lords Way, Parsons, TN 38363',
'03/07/1945', '731-845-0077', 'wvwoodson', 'password4');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(79916, 'Steven Jensen', '93 Sunny Glen Ln, Garfield Heights, OH 44125',
'12/14/1968', '216-789-6442', 'sjensen', 'password5');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(93265, 'David Bain', '4356 Pooh Bear Lane, Travelers Rest, SC 29690',
'08/10/1947', '864-610-9558', 'dbain', 'password6');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(58359, 'Ruth P. Alber', '3842 Willow Oaks Lane, Lafayette, LA 70507',
'02/18/1976', '337-316-3161', 'rpalber', 'password7');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(88564, 'Sally J. Schilling', '1894 Wines Lane, Houston, TX 77002',
'07/02/1954', '832-366-9035', 'sjschilling', 'password8');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(57054, 'John M. Byler', '279 Raver Croft Drive, La Follette, TN 37766',
'11/27/1954', '423-592-8630', 'jmbyler', 'password9');
INSERT INTO Customer(ID, name, addr, DOB, phone, username, password) VALUES
(49312, 'Kevin Spruell', '1124 Broadcast Drive, Beltsville, VA 20705',
'03/04/1984', '703-953-1216', 'kspruell', 'password10');
INSERT INTO Card(num, fines, ID) VALUES ( 5767052, 0.0, 60201); INSERT INTO
Card(num, fines, ID) VALUES ( 5532681, 0.0, 60201);
INSERT INTO Card(num, fines, ID) VALUES ( 2197620, 10.0, 89682);
INSERT INTO Card(num, fines, ID) VALUES ( 9780749, 0.0, 64937);
INSERT INTO Card(num, fines, ID) VALUES ( 1521412, 0.0, 31430);
INSERT INTO Card(num, fines, ID) VALUES ( 3920486, 0.0, 79916);
INSERT INTO Card(num, fines, ID) VALUES ( 2323953, 0.0, 93265);
INSERT INTO Card(num, fines, ID) VALUES ( 4387969, 0.0, 58359);
INSERT INTO Card(num, fines, ID) VALUES ( 4444172, 0.0, 88564);
Page | 19
Department of Artificial Intelligence and Machine Learning
Library Management System
INSERT INTO Card(num, fines, ID) VALUES ( 2645634, 0.0, 57054);
Page | 20
Department of Artificial Intelligence and Machine Learning
Library Management System
2006, 910, 10.0);
INSERT INTO Book(ISBN, title, author, year, dewey, price) VALUES
('978-0060583002', 'The Last Season', 'Eric Blehm',
2006, 902, 10.0);
INSERT INTO Book(ISBN, title, author, year, dewey, price) VALUES
('978-0316740401', 'Case Histories: A Novel', 'Kate Atkinson',
2006, 813, 10.0);
INSERT INTO Book(ISBN, title, author, year, dewey, price) VALUES ('978-0316013949', 'Step on a Crack',
'James Patterson, et al.',
2007, 813, 10.0);
INSERT INTO Book(ISBN, title, author, year, dewey, price) VALUES
('978-0374105235', 'Long Way Gone: Memoirs of a Boy Soldier',
'Ishmael Beah', 2007, 916, 10.0);
INSERT INTO Book(ISBN, title, author, year, dewey, price) VALUES
('978-0385340229', 'Sisters', 'Danielle Steel', 2006, 813, 10.0);
INSERT INTO Hold(media_id, num, name, until, queue) VALUES (1716, 4444172,
'Texas Branch', '02/20/2008', 1);
Page | 21
Department of Artificial Intelligence and Machine Learning
Library Management System
INSERT INTO Stored_In(media_id, name) VALUES(1716, 'Texas Branch');
INSERT INTO Stored_In(media_id, name) VALUES(1734, 'Texas Branch');
INSERT INTO Stored_In(media_id, name) VALUES(4589, 'Texas Branch');
INSERT INTO Stored_In(media_id, name) VALUES(4188, 'Illinois Branch');
INSERT INTO Stored_In(media_id, name) VALUES(5271, 'Illinois Branch');
INSERT INTO Stored_In(media_id, name) VALUES(3725, 'Illinois Branch');
INSERT INTO Stored_In(media_id, name) VALUES(8388, 'Illinois Branch');
INSERT INTO Stored_In(media_id, name) VALUES(5748, 'Illinois Branch');
INSERT INTO Stored_In(media_id, name) VALUES(2150, 'Louisiana Branch');
INSERT INTO Stored_In(media_id, name) VALUES(8714, 'Louisiana Branch');
INSERT INTO Stored_In(media_id, name) VALUES(7757, 'Louisiana Branch');
INSERT INTO Stored_In(media_id, name) VALUES(5725, 'Louisiana Branch');
sql
Copy code
SELECT * FROM Customer;
sql
Copy code
SELECT * FROM Book WHERE author = 'Stephen King';
sql
Copy code
SELECT Media.media_id, Status.description
FROM Media
JOIN Status ON Media.code = Status.code;
sql
Copy code
SELECT Customer.name, Card.fines
FROM Customer
JOIN Card ON Customer.ID = Card.ID
Page | 22
Department of Artificial Intelligence and Machine Learning
Library Management System
WHERE Card.fines > 0;
sql
Copy code
SELECT Book.title
FROM Book
JOIN BookMedia ON Book.ISBN = BookMedia.ISBN
JOIN Stored_In ON BookMedia.media_id = Stored_In.media_id
WHERE Stored_In.name = 'Texas Branch';
sql
Copy code
SELECT * FROM Checkout WHERE media_id = 2220;
sql
Copy code
SELECT Book.title
FROM Book
JOIN BookMedia ON Book.ISBN = BookMedia.ISBN
JOIN Hold ON BookMedia.media_id = Hold.media_id
WHERE Hold.name = 'Texas Branch';
sql
Copy code
SELECT Customer.name, Librarian.Pay
FROM Librarian
JOIN Customer ON Librarian.ID = Customer.ID
WHERE Librarian.Loc_name = 'Illinois Branch';
sql
Copy code
Page | 23
Department of Artificial Intelligence and Machine Learning
Library Management System
SELECT Media.media_id
FROM Media
JOIN Checkout ON Media.media_id = Checkout.media_id
WHERE Media.code = 3;
sql
Copy code
SELECT * FROM Book WHERE year > 2005;
sql
Copy code
SELECT Customer.name, Card.num
FROM Customer
JOIN Card ON Customer.ID = Card.ID;
sql
Copy code
SELECT Media.media_id
FROM Media
JOIN Stored_In ON Media.media_id = Stored_In.media_id
WHERE Stored_In.name = 'Louisiana Branch';
sql
Copy code
SELECT Hold.media_id, Hold.queue
FROM Hold
WHERE Hold.name = 'Texas Branch';
sql
Copy code
SELECT DISTINCT author FROM Book;
Page | 24
Department of Artificial Intelligence and Machine Learning
Library Management System
sql
Copy code
SELECT * FROM Customer WHERE username = 'jlgray';
sql
Copy code
SELECT Book.title, BookMedia.media_id
FROM Book
JOIN BookMedia ON Book.ISBN = BookMedia.ISBN;
sql
Copy code
SELECT * FROM Location;
sql
Copy code
SELECT * FROM Book WHERE dewey BETWEEN 800 AND 900;
sql
Copy code
SELECT Status.description, COUNT(Media.media_id) AS num_media
FROM Media
JOIN Status ON Media.code = Status.code
GROUP BY Status.description;
sql
Copy code
SELECT Media.media_id
FROM Media
WHERE Media.code != 3;
Page | 25
Department of Artificial Intelligence and Machine Learning
Library Management System
CHAPTER VII
FUTURE SCOPE AND CONCLUSION
It also poised for significant advancements that will redefine library operations and user experiences. With the
integration of artificial intelligence (AI) and machine learning, LMS can offer personalized recommendations based
on user reading habits, enhance search functionalities, and automate routine tasks such as cataloging and classification.
Cloud-based solutions will provide libraries with scalable storage options, ensuring data is securely accessible from
anywhere, facilitating the management of multiple branches under a unified system. Blockchain technology can
revolutionize data security, offering immutable and transparent records for transactions, memberships, and borrowing
histories, thus ensuring data integrity and trust. Enhanced analytics tools will allow libraries to gain deeper insights
into user behavior, collection usage, and trends, aiding in strategic decision-making and resource allocation. The
Internet of Things (IoT) can introduce smart shelves and RFID-tagged books, streamlining inventory management
and providing real-time updates on the status and location of resources. Mobile applications will continue to evolve,
offering users seamless access to digital libraries, personalized notifications, virtual book clubs, and interactive
interfaces. Furthermore, augmented reality (AR) and virtual reality (VR) can provide immersive educational
experiences, transforming how users engage with library content. Overall, the future of LMS in DBMS will be
characterized by enhanced efficiency, security, and user engagement, making libraries more adaptive to technological
advancements and user needs.
Page | 26
Department of Artificial Intelligence and Machine Learning
Library Management System
7.2 CONCLUSION
The evolution of Library Management Systems (LMS) within the framework of Database Management Systems
(DBMS) marks a pivotal advancement in the way libraries operate and serve their patrons. By leveraging cutting-edge
technologies such as AI, machine learning, blockchain, IoT, and cloud computing, LMS can transform from traditional,
manual processes to highly automated, intelligent systems. This shift not only streamlines administrative tasks but
also enhances data security, resource management, and user engagement. Libraries can provide personalized
experiences, improve the accuracy and efficiency of inventory management, and offer robust data analytics for
informed decision-making. The integration of mobile applications and digital platforms further extends the reach and
accessibility of library services, catering to the needs of a tech-savvy user base. As libraries continue to adopt these
innovations, they will remain relevant and indispensable in the digital age, evolving into dynamic, user-centric hubs
of knowledge and learning. The future of LMS in DBMS is promising, with endless possibilities for enhancing the
efficiency, security, and overall user experience, ensuring that libraries can meet the growing demands of their
communities and adapt to the ever-changing technological landscape.
The development and implementation of Library Management Systems (LMS) within the realm of Database Management
Systems (DBMS) signify a transformative era for libraries, ushering them into a future where efficiency, security, and user
engagement are paramount. The integration of artificial intelligence (AI) and machine learning can revolutionize how libraries
manage their collections and interact with users. These technologies enable sophisticated recommendation systems, predictive
analytics for resource demand, and automation of cataloging processes, thus significantly reducing the workload on library staff
and enhancing user satisfaction.
The adoption of cloud-based DBMS solutions offers unparalleled scalability and accessibility, ensuring that library data is secure,
backed up, and available from any location. This capability is particularly beneficial for libraries with multiple branches, as it
allows for centralized management and uniformity in service delivery. Additionally, blockchain technology introduces a new
level of security and transparency, providing tamper-proof records for all library transactions, from book checkouts to
membership registrations, which enhances trust and accountability.
IoT integration, with smart shelves and RFID-tagged books, streamlines inventory management by providing real-time updates
on the location and status of library materials. This reduces the incidence of lost or misplaced books and allows for more efficient
space utilization. Mobile applications extend the library's reach beyond its physical walls, offering users convenient access to
digital resources, personalized notifications, and interactive features such as virtual book clubs and forums.
Furthermore, advanced data analytics tools enable libraries to delve deeper into user behavior and resource utilization patterns,
providing valuable insights that can inform strategic planning and resource allocation. This data-driven approach ensures that
libraries remain responsive to the evolving needs of their patrons. The potential for augmented reality (AR) and virtual reality
(VR) applications also opens new avenues for immersive educational experiences, making libraries more engaging and relevant
in an increasingly digital world.
Page | 27
Department of Artificial Intelligence and Machine Learning
Library Management System
REFERENCES
[1]. Smith, A. (2022). Library Management System. Master's thesis, University of Learning.
[2]. Johnson, M. (2023). Library Management System. Project report, College of Education.
[3.] Williams, S. (2024). Library Management System. Bachelor's thesis, Institute of
Technology.
Page | 28
Department of Artificial Intelligence and Machine Learning