Database Systems Library Management System
Database Systems Library Management System
LIBRARY MANAGEMENT
SYSTEM
Tayyaba Riaz 04161813039, Mahrukh Majid Butt
04161813011
Department Of Information Technology
Quaid e Azam University Islamabad
Content Pg. NO
1 Introduction
2 Datatype
3 Data requirements
• Entities
• Attributes
• Relationships- cardinality
4 Entity Relationship Diagram
5 Schema Diagram
6 Creating Database
7 Test case Queries
8 Conclusion
9
introduction
A library is a collection of organized information and resources which is made accessible to a well-
defined community for borrowing or reference sake. The collection of the resources and information are
provided in digital or physical format in either a building/room or in a vital space or even both. Library
resources and collection may include Books, newspapers, films, novels, print maps, CD’s, tapes,
microforms, database etc. The main aim of the system is to develop a new programmed system that will
conveying every lasting solution to the manual base operations and to make available a channel through
which staff can maintain the record easily and customers can access the information about the library at
whatever place they found themselves.
Library management system allows the user to stores the book details and the customers details. The
system is strong enough to withstand regressive yearly operations under conditions where the database is
maintained and cleared over a certain time of span. The implementation of this system in the
organization will considerably reduce data entry, time and also provide readily calculated reports.
OBJECTIVE:
It keeps track of all the information about the books in the library, their cost,
status and total number of books available in the library. The user find it easy
in the automated system rather than using the manual writing system. The
system contain a database where all the information will be store safely.
Data types and its description
• Integer: one optional single character(+ or -) followed by at least one digit(0-9).
Leading and trailing blanks are ignored. No other character is allowed.
• Varchar: It is used to store alpha numeric characters. In the data type we can send the
maximum number of characters up to 8000 ranges by default SQL server will set the
size to 50 characters range.
• Date: The date data type accepts date values. No parameters are required when
declaring a DATE data type. Date values should be specified in the form of YYYY-
MM-DD. However point Base will also accept single digits entries for month and day
value.
• Time: The time data type accepts time values. No parameters are required when
declaring a time data type. Date values should be specify in the form: HH-MM-SS. An
optional fractional values can be used to represent nanoseconds.
Data requirements:
• Entities:
o Branch
o Employee
o Customer
o Issue status
o Return Status
o Books
Attributes:
Branch
Customer
Manager ID Issue Status
Customer ID
Branch ID Issue book name
Book issued
Address Issue Id
• Contact-No Name
• Branch-h-No Address Name
• Street ISBN
• City Registration Number
• State Registration Date Customer Id
• Zip code
Books
ISBN
Return Status
Title
Return ID
Category
Return Date
Rental price
Customer ID
Author
Return book name
Publisher
ISBN
Status
Relationships - cardinality