Professional Documents
Culture Documents
Library System Management Final Projec
Library System Management Final Projec
GROUP MEMBERS
NAME ID
1 YOSEPH TOLOSA……………………………….12D0905
4 YARED MISRAK……….…………………………12D0800
5 FIREHIWOT HAILU…….……………………….1301213
SUB TO MR.ABENEZER.D
SUB-DATE WED-21-JULY
ABSTRACT
We have created the database using structured query language(sql) and organized
it with some sample data. The system can keep track of library cards,
readers,employs, library locations, books, and the relationships between them.
We have created databases allows users and librarians to access the system remote.
LIBRARY MANGMENT SYSTEM
Acknowledgement
After we complete our second year first simister database project we would
like to take this chance to express our sincere gratitude to our project
instructor Mrs.Abenezer.D who has guided our a lot through the project
development.
PART ONE
1.1OBJECTIVES ………………………………………………………………….......1
1.2 BACKGROUND OF PROJECT …………….………………………….......1
PART TWO
2.1 REQUIREMENT AND ANALYS……………........................................2
2.2 COMPARATION B/N THE TWO SYSTEM..…………………………..3
2.3 ADVANTAGE OF PROPOSED SYSTEM……………………...............3
PART THREE
3.1 KEYWORD…………………………………………………………………………4
3.2.2 ER-DIAGRAM……………………………………………………………………6
3.2.3 PARTICIPATION……………………………………………………………….7
PART FOUR
4.1LOGICAL DESIGN………………………………………………………………….8
4.1.1 NORMALIZATION…………………………………………………………….10
PART FIVE
5.2 QUERIES………………………………………………………………………………14
LIBRARY MANGMENT SYSTEM
INTRODUCTION
This project will provide a detailed account of the processes our group used to
design and implement a database that can be used to manage a library system.
Each subsection of the project corresponds to an important feature of
database design.
1
PART ONE
1.1 OBJECTIVES
The main objective of this project is to manage the detail of book, reader, and staff, employee.
The project is totally built at administrative to guarantee of the access.
The purpose of this project is to building application program and simple understanding of entity
of attribute.It tracks all the about book reader and issue. To understanding of any work of entity.
To generate the report on address member of librarian Manage the information of member
Facilities based on entity and value of attribute
1.2 BACKGROUND OF PROJECT
Library Management System is an application which refers to library systems which are
generally small or medium in size.
It is used by librarian to manage the library using a computerized system where he/she can
record various transactions like issue of books, return of books, addition of new books, addition
of new reader etc. With this computerized system there will be no loss of book record or
member record which generally happens when a non computerized system is used.
In addition, report module is also included in Library Management System. If user’s position is
admin, the user is able to generate different kinds of reports like lists of reader registered, list of
books, issue and return reports.
LIBRARY MANGMENT SYSTEM
PART TWO
2.1 REQUIRMENT AND ANALYSIS
In this chapter, we will discuss and analyze about the developing process of Library Management System
including requirement and analysis (RAA) and comparison between existing and proposed system.
The functional and non functional requirements are included in RAA part to provide complete
description and overview of system requirement before the developing process is carried out.
Besides that existing and proposed provides a view of how the proposed system will be more efficient
than the existing one.
1. It can help user to manage the transaction or record more effectively and time-saving.
2. It reduces the risk of paper work such as file lost, file damaged and time consuming.
3. Improvement in control and performance
4. The system is developed to cope up with the current issues and problems of library.
5. The system can add user, validate user and is also bug free. -System must be able to enter issue
information in database.
6. System must be able to update number of books.
7. System must be able to search if book is available or not before issuing books and return date
information.
8. Requirements of analysis a database design determine the data ,information ,system
component, data processing, data observation, data manipulate and analysis of function
required by system.
Microsoft word
Structural query language server
Computer
2
2.2 COMPARATION BETWEEN THE TWO SYSTEMS
Existing system does not have any facility of reader login where as proposed system will have a
facility of reader login as well as.
Existing system does not have a facility of online reservation of books whereas proposed system has
a facility of online reservation of books.
Existing system does not have any facility of online notice board where description of workshops
happening in our college as well as nearby colleges is being provided.
Existing system does not have any option of lectures notes uploaded by teachers whereas proposed
system will have this facility.
Existing system does not have any facility to generate reader reports as well book issue reports
whereas proposed system provides librarian with a tool to generate reports.
Existing system does not has any facility for book request and suggestions where as in proposed
system after logging in to their accounts reader can request books as well as provide
suggestions to improve library .
Library management system has been design to automatic, manage and look after over all
processing very large scale library.
This software is capable of managing look issues returns, magazines or new paper sub subscription,
calculating or managing fine and balance payments due from members.
PART THREE
3.1Key words
-Data base design is the process of producing a detailed DATA MODEL of
DATABASE. This data model contains all the needed logical and physical design
choices and physical storage parameters needed to generate a design in a DATA
DEFINITION LANGUAGE, which can then be used to create a database. A fully
attributed data model contains detailed attributes for each entity.
The requirements identified in the analysis phase are used as the basis to
develope the new system called database design. in chapter two we
identify What data are required and What are the problems to be solved. in
these chapter we mainly concerned how that data can structured and how
can we accessed those data
Entity:- Real world objects distinguishable from other objects. That is a person, place,
things, or even for which data is collected and maintained. An entity is described in
database using a set of attributes.This may be strong or weak.
Entity type: a collection or a set of entities that have the attribute.
Entity Set: A collection of similar entities.
Entity Instance: is a single occurrence of an entity type. It is describe just one time in
data model.
Attribute A particular properties that describe an entity.
Primary key: is a field or combination of fields that uniquely and minimally identifies
particular member of an entity
Foreign key: is a field in one table that must match a primary key value in another table
in order to establish the two tables.
Relationship: Association among two or more entities.
Candidate Key: Any field that could serve as a primary key.
4
3.2CONCEPTUAL DESIGN
WATCHEMO UNIVERSITY LIBRARY has to be MANAGED BY STAFF, and the staff LEADS
the BRANCH, each branches HAVE their own EMPLOYEES to GIVE SERVICE for the
READERS the readers use BOOKS based on a time interval and the book PUBLISHED by
PUBLISHER and WRITTEN by the AUTHOR at last the LIBRARY can PURCHASE the book
from the publisher.
LIBRARY MANGMENT SYSTEM
5 3.2.2 ER-DIAGRAM
E-mail wpage
name
ID p-num
phone
LIBRARY
Mn_b
E-mail
adress
STAFF
city
country city
name position
adres leads
phone
phone
publisher Bld-blk
pid
Branch
have name
location
Name phone
Ed-lvl employe
aid ID
publish
adr
author name
city
serve
kebele
title
written
name
Start t
book
reader r-id
BO-ID
use
autho
sex
Editio colleg dept
Return t
6 3.2.3 PARTICIPATION
1 1
LIBRARY Manged by STAFF
1 5
1 M
EMPLOYEE
BRANCH have
M M
EMPLOYEE serve READER
1 M BOOK
RAEDER use
M M
BOOK written Author
M 1
BOOK published publisher
LIBRARY MANGMENT SYSTEM
7 PART FOUR
BRANCH
STAFF
STAFF PHONE
S-ID PHONE
EMPLOYEE
E-ID PHONE
READER
BOOK
AUTHOR
Publisher phone
P-id Phone
8 MANAGED BY
LEADS
HAVE
SERVE
E-ID* B-ID*
USE
WRITTEN
A-ID* B-ID*
PUBLISHED
READER
4.1 .1NORMALIZATION
STAFF
STAFF_EMAIL_CITY
STAFF-PHONE
EMPLOYE PHONE
AUTHOR
PUBLISHER
PUBLISHER-PHONE
MANAGED BY
LEADS
HAVE
SERVE
E-ID* R-ID*
USE
PUBLISHED
WRITTEN
A-ID* B-ID*
LIBRARY MANGMENT SYSTEM
11
PART FIVE
5.1 PHYSICAL DESIGN
5.1.1 physical table creating syntaxs
create table staff(s_name varchar(50),s_id varchar(50)primary key,ed_level varchar(30),position varchar(30))
create table staff_email_city(s_id varchar(50) foreign key references staff(s_id),e_mail varchar(50),city varchar(50))
create table published(b_id varchar(50) primary key,p_id varchar(50) foreign key references
publisher(p_id),author_name varchar(50),edition varchar(50),collegue varchar(50),book_title varchar(50))
create table have (e_idvarchar(50) primary key, employe_name varchar(50),kebele varchar(30),b_id varchar(50)
foreign key references published(b_id))
create table employe_phone(e_id varchar(50) foreign key references have (e_id),employe_phone int)
create table publisher_phone(p_id varchar(50) foreign key references publisher (p_id),publisher_phone int)
create table managed_by(s_id varchar(50) foreign key references staff (s_id),library_name varchar(50),email
varchar(50),webpage varchar(50))
create table leads(s_id varchar(50) foreign key references staff (s_id),block_num int primary key,location
varchar(50),branch_name varchar(50))
create table serve(e_id varchar(50) foreign key references have(e_id),r_id varchar(50) foreign key references
reader(r_id))
create table written(a_id varchar(50) foreign key references author(a_id),b_id varchar(50) foreign key references
published(b_id))
12
13
5.2 Queries
15
7, show the reader name to use the book at 2:00 and the title of the book that
they used?
selectu.start_time,r.full_name,p.book_titlefrom _use u join reader r
onr.r_id=u.r_idinnerjoin published p onp.b_id=u.b_idwherestart_time='2:00'
17