0% found this document useful (0 votes)
19 views

Database

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Database

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Database Design in Library Management System

How database works in Library Management System?


- The users table stores the user details such as a unique user id, name, contact, and login
information. The admin table references the user id as a foreign key and stores the role of the
admin such as Librarian, Assistant, etc.
The details about the books are stored in the books table. It includes the book title, author,
publisher, date of publication, category, etc. The category table contains more details about each
of the categories that may help the reader. The shelf table contains the location of the book in the
library which may include the shelf number and floor number.
The borrowing table contains the information about the book borrowed such as the id of the user
who borrowed it, the date borrowed, the due date, etc. This information can be used to calculate
the fine for overdue books. The records table stores every return made so that it can be
referenced when needed. It also stores the fine amount paid if applicable.

You might also like