Site icon Student Projects Live

Library Management System database design

This page contains information of Library Management System database design. The Library System project purpose is to automate library tasks including adding new borrowers, lending books to borrowers, and keeping track of all the items that were available in the books. It keeps track of all the details on the books in the library, including their price, condition, and overall availability.

You will get following informations in this article:


Library Management System Table design:

Table Name: bookdetails

Field Name Data Type Size Relation
AccnoVarchar50Primary key
AuthorVarchar50Not null
TitleVarchar50Not null
PublicationVarchar50Not null
EditionVarchar50Not null
No_of_copiesint Not null
VolumnVarchar50Not null
Date_purVarchar50Not null
PriceDecimal(18,2)Not null
StatusVarchar(50)50Not null

Table Name: student

Field Name Data Type Size Relation
NameVarchar50Not null
RegnoVarchar50Primary key
Date_of_issueDatetime Not null
AddresssVarchar50Not null
Date_of_returnDatetime Not null
CourseVarchar50Not null
AccnoVarchar50Foreign key
GenderVarchar50Not null

Table Name: issue

  Field Name Data Type Size Relation
RegnoVarchar50Foreign key
Date_of_issue_booksDatetime Not null
Date_of_return_booksDatetime Not null
AccnoVarchar50Not Null
NameVarchar50Not null
CourseVarchar50Not null
AuthorVarchar50Not null
VolumnVarchar50Not null
EditionVarchar50Not null

Table Name: return

Field Name Data Type Size Relation
RegnoVarchar50Foreign key
AccnoVarchar50Not Null
Date_of_return_booksDatetime Not null
Date_of_issue_booksDatetime Not null
NameVarchar50Not null
CourseVarchar50Not null
AuthorVarchar50Not null
VolumnVarchar50Not null
EditionVarchar50Not null

ER Diagram of Library Management System:


Download Library Management System database design:

Exit mobile version