SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
K L UNIVERSITY
Green Fields, Vaddeswaram
Department of Computer science and Engineering
2016
DATABASE SYSTEMS
Library Management System
Submitted by
Faculty K.Chakitha-150030458
Bhupesh Deka S.V.Rohith-150031000
section-10, batch-24
CERTIFICATE
This is to certify that the Project entitled “Library Management
System”, being submitted by K.Chakitha-150030458, S.V.Rohith-150031000
in partial fulfillment for the award of degree of Bachelor of Technology in
Computer science Engineering is a record of detailed work carried out under the
guidance, during the academic year 2017 and it has been found worthy of
acceptance according to the requirements of the university.
Faculty In charge
Bhupesh Deka
ACKNOWLEDGEMENTS
We are very much thankful to our loving Parents and
Faculty for their care and responsibility in helping us to achieve this work done.
We are also greatly indebted to our KLUniversity that has provided a healthy
environment to drive us to achieve our ambitions and goals.
Place: KLU
Date: 11/04/2017
TABLE OF CONTENTS
Content Pg. No
1 Introduction 1
2 Data types 2
3 Data Requirements
 Entities
 Attributes
 Relationships - cardinality
3
4 Entity Relationship Diagram 5
5 Schema Diagram 6
6 Creating database using MySQL 7
7 Test-case Queries
8 Conclusion
9 References
1. 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 virtual space or
even both. Library’s resources and collections may include newspapers, books,
films, prints, maps, CDs, tapes, videotapes, microform, database etc. The main
aim of this system is to develop a new programmed system that will conveying
ever 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 might find
themselves.
Library Management System allows the user to store the book details and the
customer 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 the 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 will find it easy in this automated system rather than using the manual
writing system. The system contains a database where all the information will
be stored safely.
2. Data types and its description
1. Integer: one optional sign character (+ or -) followed by at least one digit
(0-9). Leading and trailing blanks are ignored. No other character is
allowed.
2. Varchar: It is used to store alpha numeric characters. In this data type
we can set the maximum number of characters up to 8000 ranges by
defaults SQL server will set the size to 50 characters range.
3. 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: YYYY-MM-DD. However, Point Base will also
accept single digits entries for month and day values.
4. Time: The TIME data type accepts time values. No parameters are
required when declaring a TIME data type. Date values should be
specified in the form: HH:MM: SS. An optional fractional value can be
used to represent nanoseconds.
3. Data Requirements
Entities
 BRANCH
 EMPLOYEE
 CUSTOMER
 ISSUE STATUS
 RETURN STATUS
 BOOKS
Attributes
 BRANCH
 Manager_id
 Branch_id
 Address
 Contact_no
 Branch_h_no
 Street
 City
 State
 Zipcode
 CUSTOMER
 Customer_id
 Books_issued
 Name
 Address
 Registration_date
 ISSUE STATUS
 Issue_book_name
 Issue_id
 Issue_date
 ISBN
 Customer_id
 RETURN STATUS
 Return_id
 Return_date
 Customer_id
 Return_book_name
 ISBN
 BOOKS
 ISBN
 Title
 Category
 Rental_price
 Author
 Publisher
 Status
RELATIONSHIPS - CARDINALITY
 MANAGER manages the BRANCH (1 - N)
 CUSTOMER registers in the respective BRANCH (N – 1)
 CUSTOMER issues BOOKS (1 – N)
 CUSTOMER returns BOOKS (N – 1)
 EMPLOYEE updates BOOKS (N – N)
4. Entity-Relationship-DIAGRAM
Entity Relationship Diagram is used in modern database software engineering to
illustrate logical structure of database. It is a relational schema database
modelling method used to Model a system and approach. This approach
commonly used in database design. The diagram created using this method is
called ER-diagram.
The ER-diagram depicts the various relationships among entities, considering
each object as entity. Entity is represented as rectangle shape and relationship
represented as diamond shape. It depicts the relationship between data object.
The ER-diagram is the notation that is used to conduct the data modelling
activity.
5. SCHEMA DIAGRAM
A schema is the structure behind data organization. It is a visual representation
of how different table relationships enable the schema’s underlying mission
business rules for which the database is created. Database schema defines its
entities and the relationship among them.
It contains a descriptive detail of the database, which can be depicted by means
of schema diagrams. It's the database designers who design the schema to help
programmers understand the database and make it useful.
Schema diagrams have an important function because they force database
developers to transpose ideas to paper. This provides an overview of the entire
database, while facilitating future database administrator work.
6. CREATING DATABASE USING MYSQL
mysql> create database libproject;
mysql> use libproject;
Database changed
mysql> CREATE TABLE BOOKS(ISBN int(100) not null,book_title
varchar(50) not null,category varchar(50) not null,rental_price int(10) not
null,status varchar(50),author varchar(50) not null,publisher varchar(50) not
null,primary key(ISBN)) ;
Query OK, 0 rows affected (1.44 sec)
mysql> CREATE TABLE EMPLOYEE(employ_id int(10) not
null,employ_name varchar(50) not null,position varchar(30) not null,salary
int(10) not null,primary key(employ_id));
Query OK, 0 rows affected (0.35 sec)
mysql> create table customer(customer_id int(10) not null,customer_name
varchar(50),customer_address varchar(100) not null,registration_date date not
null,primary key(customer_id));
Query OK, 0 rows affected (0.38 sec)
mysql> create table brach(branch_no int(10) not null,manager_id int(10) not
null,branch_address varchar(100) not null,contact_no int(10) not null,primary
key(branch_no));
Query OK, 0 rows affected (0.49 sec)
mysql> create table issue_status(issue_id int(10) not null,issued_cust int(10) not
null,issued_book_name varchar(50) not null,issue_date date not null,isbn_book
int(10) not null,primary key(issue_id),constraint foreign key(isbn_book)
references BOOKS(ISBN),constraint foreign key(issued_cust) references
customer(customer_id));
Query OK, 0 rows affected (0.66 sec)
mysql> alter table brach rename branch;
Query OK, 0 rows affected (0.50 sec)
mysql> create table return_status(return_id int(10) not null,return_cust int(10)
not null,returned_book_name varchar(50) not null,return_date date not
null,isbn_book2 int(10) not null,primary key(return_id),constraint foreign
key(isbn_book2) references BOOKS(ISBN),constraint foreign key(return_cust)
references issue_status(issued_cust));
Query OK, 0 rows affected (0.39 sec)
mysql> insert into books
values(1000,'book1','comedy',5,'available','author1','pub1');
Query OK, 1 row affected (0.18 sec)
mysql> insert into books
values(1001,'book2','scifi',3,'available','author2','pub2');
Query OK, 1 row affected (0.08 sec)
mysql> insert into books values(1003,'book3','romance',1,'un-
available','author3','pub3');
Query OK, 1 row affected (0.06 sec)
mysql> insert into books
values(1004,'book4','thriller',7,'available','author4','pub4');
Query OK, 1 row affected (0.07 sec)
mysql> alter table branch add constraint foreign key(manager_id) references
employee(employ_id);
Query OK, 0 rows affected (1.20 sec)
Records: 0 Duplicates: 0 Warnings: 0
mysql> insert into employee values(991,'emp1','manager',30000);
Query OK, 1 row affected (0.06 sec)
mysql> insert into employee values(992,'emp2','worker',10000);
Query OK, 1 row affected (0.07 sec)
mysql> insert into employee values(993,'emp3','worker',10000);
Query OK, 1 row affected (0.05 sec)
mysql> insert into employee values(994,'emp4','reader',20000);
Query OK, 1 row affected (0.07 sec)
mysql> insert into employee values(995,'emp5','assist',20000);
Query OK, 1 row affected (0.07 sec)
mysql> insert into branch values(1,991,'branch_addr1',987654321);
Query OK, 1 row affected (0.07 sec)
mysql> insert into branch values(3,993,'branch_addr3',987654323);
Query OK, 1 row affected (0.09 sec)
mysql> insert into customer values(11,'cus1','hom1','2008:10:10');
Query OK, 1 row affected (0.07 sec)
mysql> insert into customer values(12,'cus2','hom2','2008:03:03');
Query OK, 1 row affected (0.09 sec)
mysql> insert into customer values(13,'cus3','hom3','2009:03:03');
Query OK, 1 row affected (0.07 sec)
mysql> insert into customer values(14,'cus4','hom4','2009:04:04');
Query OK, 1 row affected (0.06 sec)
mysql> insert into issue_status values(51,12,'book1','2010:01:01',1001);
Query OK, 1 row affected (0.08 sec)
mysql> insert into issue_status values(52,14,'book4','2010:01:01',1004);
Query OK, 1 row affected (0.06 sec)
mysql> insert into return_status values(61,12,'book1','2010:10:01',1001);
Query OK, 1 row affected (0.08 sec)
mysql> insert into return_status values(62,13,'book1','2010:10:01',1001);
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint
fails (`libproject`.`return_status`, CONSTRAINT `return_status_ibfk_2`
FOREIGN KEY (`return_cust`) REFERENCES `issue_status` (`issued_cust`))
Since customer id-13 isn’t taken any book, we cannot
blindly give the input!!
7. TEST QUERIES
1. Display the customer name who took the book of type comedy.
Mysql>select customer_name from customer where
book_type=’comedy’;
2. Display issue id ,issued customer name whose ibsn book
number is 1004.
Mysql>select issue_id , issued_cust from issue_status where
isbn_book=1004;
3. Display all contents in issue status table where isbn book of
issue table and return table are equal.
Mysql>select p.* from issue_status p, return_status r where
p.isbn_book=r.isbn_book2;
4. Add a column called book type in customer table.
Mysql>alter table customer add book_type varchar(10) not null;
Query ok,4 rows affected(0.37sec)
Records:4 Duplicates:0 Warnings:0
Mysql>describe customer;
8. CONCLUSION
• SQL database management application which is very well used in the
modern world in organising and manipulating a database.
• Though SQL doesn’t have the GUI interface like Microsoft access is
having and they all manage the database comfortable.
• Depending on the user or users, if an organisation has multiple users then
they should go for SQL server based application.
• This project shows how to create tables in SQL and how to create simple
data manipulation language and data definition language with how to
execute them.
• It also shows how relationships are established with the concepts of
primary and foreign key within a table.
• Lastly, the project shows how queries are created in SQL server, queries
like the create command, view, update, alter etc.
9. REFERENCES
 http://people.cs.pitt.edu/~chang/156/03ERmodel.html
 http://www.academia.edu/13780884/Database_system_for_library_man
agement_system
 https://lbsitbytes2010.wordpress.com/2013/09/21/er-diagram-of-
library-management-rno15s5cs2/
 https://www.slideshare.net/fiu025/library-management-
32343393?next_slideshow=1
 http://www.c-sharpcorner.com/UploadFile/ea3ed6/database-design-for-
library-management-system/
 http://stackoverflow.com/questions/17641134/what-is-different-
between-er-diagram-and-database-schema
A mini project on designing a DATABASE for Library management system using mySQL

Contenu connexe

Tendances

Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management SystemPranil Dukare
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management SystemMonotheist Sakib
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemPankaj Kumar
 
Railway management system, database mini project
Railway management system, database mini projectRailway management system, database mini project
Railway management system, database mini projectshashank reddy
 
Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Totan Banik
 
Project proposal of Library Management System.
Project proposal of Library Management System. Project proposal of Library Management System.
Project proposal of Library Management System. Arjishman Roy
 
Entity Relationship Diagram of Library System
Entity Relationship Diagram of Library SystemEntity Relationship Diagram of Library System
Entity Relationship Diagram of Library SystemAbdul Rahman Sherzad
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentationChaudhry Sajid
 
Library management system
Library management systemLibrary management system
Library management systemParesh Gosavi
 
Online library management system
Online library management systemOnline library management system
Online library management systemBharat Kunwar
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management Systemkataria Arvind
 
Library management system project
Library management system projectLibrary management system project
Library management system projectAJAY KUMAR
 
Library management system
Library management systemLibrary management system
Library management systemArman Ahmed
 
Library management system
Library management systemLibrary management system
Library management systemABhay Panchal
 
Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Modelmitwa1990
 
Book Shop Management System
Book Shop Management SystemBook Shop Management System
Book Shop Management SystemMuhammadRifat12
 

Tendances (20)

Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management System
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Railway management system, database mini project
Railway management system, database mini projectRailway management system, database mini project
Railway management system, database mini project
 
Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)
 
Project proposal of Library Management System.
Project proposal of Library Management System. Project proposal of Library Management System.
Project proposal of Library Management System.
 
Use case of hospital managment system
Use case of hospital managment systemUse case of hospital managment system
Use case of hospital managment system
 
Library management project
Library management projectLibrary management project
Library management project
 
Entity Relationship Diagram of Library System
Entity Relationship Diagram of Library SystemEntity Relationship Diagram of Library System
Entity Relationship Diagram of Library System
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentation
 
Library management system
Library management systemLibrary management system
Library management system
 
Online library management system
Online library management systemOnline library management system
Online library management system
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
 
Library management system project
Library management system projectLibrary management system project
Library management system project
 
Library management system
Library management systemLibrary management system
Library management system
 
Library management system
Library management systemLibrary management system
Library management system
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Model
 
Book Shop Management System
Book Shop Management SystemBook Shop Management System
Book Shop Management System
 

En vedette

A database design_report_for_college_library final
A database design_report_for_college_library finalA database design_report_for_college_library final
A database design_report_for_college_library finalSaira Iqbal
 
Online Book Reading and Virtual Library Management System
Online Book Reading and Virtual Library Management SystemOnline Book Reading and Virtual Library Management System
Online Book Reading and Virtual Library Management SystemMd. Meftaul Haque Mishu
 
Library Management system Database queries
Library Management system Database queriesLibrary Management system Database queries
Library Management system Database queriesreshmajohney
 
Student management system
Student management systemStudent management system
Student management systemGaurav Subham
 
Student management system
Student management systemStudent management system
Student management systemAmit Gandhi
 
Student database management system
Student database management systemStudent database management system
Student database management systemSnehal Raut
 

En vedette (7)

A database design_report_for_college_library final
A database design_report_for_college_library finalA database design_report_for_college_library final
A database design_report_for_college_library final
 
Online Book Reading and Virtual Library Management System
Online Book Reading and Virtual Library Management SystemOnline Book Reading and Virtual Library Management System
Online Book Reading and Virtual Library Management System
 
Top down approach
Top down approachTop down approach
Top down approach
 
Library Management system Database queries
Library Management system Database queriesLibrary Management system Database queries
Library Management system Database queries
 
Student management system
Student management systemStudent management system
Student management system
 
Student management system
Student management systemStudent management system
Student management system
 
Student database management system
Student database management systemStudent database management system
Student database management system
 

Similaire à A mini project on designing a DATABASE for Library management system using mySQL

At the core you will have KUSTO
At the core you will have KUSTOAt the core you will have KUSTO
At the core you will have KUSTORiccardo Zamana
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehFas (Feisal) Mosleh
 
Cassandra Data Modelling
Cassandra Data ModellingCassandra Data Modelling
Cassandra Data ModellingKnoldus Inc.
 
Lecture 15 - MySQL- PHP 1.ppt
Lecture 15 - MySQL- PHP 1.pptLecture 15 - MySQL- PHP 1.ppt
Lecture 15 - MySQL- PHP 1.pptTempMail233488
 
Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023SakshiTiwari490123
 
Structured Query Language (SQL) _ Edu4Sure Training.pptx
Structured Query Language (SQL) _ Edu4Sure Training.pptxStructured Query Language (SQL) _ Edu4Sure Training.pptx
Structured Query Language (SQL) _ Edu4Sure Training.pptxEdu4Sure
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02CH JuNaid
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02CH JuNaid
 
Mi0034 database management system
Mi0034 database management systemMi0034 database management system
Mi0034 database management systemconsult4solutions
 
Enabling SQL Access to Data Lakes
Enabling SQL Access to Data LakesEnabling SQL Access to Data Lakes
Enabling SQL Access to Data LakesVasu S
 
Indic threads pune12-nosql now and path ahead
Indic threads pune12-nosql now and path aheadIndic threads pune12-nosql now and path ahead
Indic threads pune12-nosql now and path aheadIndicThreads
 
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...ijdms
 

Similaire à A mini project on designing a DATABASE for Library management system using mySQL (20)

At the core you will have KUSTO
At the core you will have KUSTOAt the core you will have KUSTO
At the core you will have KUSTO
 
MYSQL-Database
MYSQL-DatabaseMYSQL-Database
MYSQL-Database
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas mosleh
 
SSAS Tabular model importance and uses
SSAS  Tabular model importance and usesSSAS  Tabular model importance and uses
SSAS Tabular model importance and uses
 
Cassandra Data Modelling
Cassandra Data ModellingCassandra Data Modelling
Cassandra Data Modelling
 
qwe.ppt
qwe.pptqwe.ppt
qwe.ppt
 
Lecture 15 - MySQL- PHP 1.ppt
Lecture 15 - MySQL- PHP 1.pptLecture 15 - MySQL- PHP 1.ppt
Lecture 15 - MySQL- PHP 1.ppt
 
Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023
 
Structured Query Language (SQL) _ Edu4Sure Training.pptx
Structured Query Language (SQL) _ Edu4Sure Training.pptxStructured Query Language (SQL) _ Edu4Sure Training.pptx
Structured Query Language (SQL) _ Edu4Sure Training.pptx
 
Cassandra data modelling best practices
Cassandra data modelling best practicesCassandra data modelling best practices
Cassandra data modelling best practices
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02
 
Mi0034 database management system
Mi0034 database management systemMi0034 database management system
Mi0034 database management system
 
KCS-501-3.pdf
KCS-501-3.pdfKCS-501-3.pdf
KCS-501-3.pdf
 
SQL cheat sheet.pdf
SQL cheat sheet.pdfSQL cheat sheet.pdf
SQL cheat sheet.pdf
 
Enabling SQL Access to Data Lakes
Enabling SQL Access to Data LakesEnabling SQL Access to Data Lakes
Enabling SQL Access to Data Lakes
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
Indic threads pune12-nosql now and path ahead
Indic threads pune12-nosql now and path aheadIndic threads pune12-nosql now and path ahead
Indic threads pune12-nosql now and path ahead
 
Presentation1
Presentation1Presentation1
Presentation1
 
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...
NOSQL IMPLEMENTATION OF A CONCEPTUAL DATA MODEL: UML CLASS DIAGRAM TO A DOCUM...
 

Plus de svrohith 9

Simple Blockchain Eco System for medical data management
Simple Blockchain Eco System for medical data managementSimple Blockchain Eco System for medical data management
Simple Blockchain Eco System for medical data managementsvrohith 9
 
A Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shiftersA Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shifterssvrohith 9
 
A JAVA project on Marriage bureau management system
A JAVA project on Marriage bureau management systemA JAVA project on Marriage bureau management system
A JAVA project on Marriage bureau management systemsvrohith 9
 
A Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorA Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorsvrohith 9
 
A Software Engineering Project on Cyber cafe management
A Software Engineering Project on Cyber cafe managementA Software Engineering Project on Cyber cafe management
A Software Engineering Project on Cyber cafe managementsvrohith 9
 
A project on Ecology case studies
A project on Ecology case studiesA project on Ecology case studies
A project on Ecology case studiessvrohith 9
 
A project on advanced C language
A project on advanced C languageA project on advanced C language
A project on advanced C languagesvrohith 9
 
A MATLAB project on LCR circuits
A MATLAB project on LCR circuitsA MATLAB project on LCR circuits
A MATLAB project on LCR circuitssvrohith 9
 
10_CERITIFICATE
10_CERITIFICATE10_CERITIFICATE
10_CERITIFICATEsvrohith 9
 
Pedal power hacksaw
Pedal power hacksawPedal power hacksaw
Pedal power hacksawsvrohith 9
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook applicationsvrohith 9
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook applicationsvrohith 9
 
The taipei 101 tower
The taipei 101 towerThe taipei 101 tower
The taipei 101 towersvrohith 9
 
Apple i phone presentation
Apple i phone presentationApple i phone presentation
Apple i phone presentationsvrohith 9
 

Plus de svrohith 9 (15)

Simple Blockchain Eco System for medical data management
Simple Blockchain Eco System for medical data managementSimple Blockchain Eco System for medical data management
Simple Blockchain Eco System for medical data management
 
A Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shiftersA Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shifters
 
A JAVA project on Marriage bureau management system
A JAVA project on Marriage bureau management systemA JAVA project on Marriage bureau management system
A JAVA project on Marriage bureau management system
 
A Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorA Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensor
 
A Software Engineering Project on Cyber cafe management
A Software Engineering Project on Cyber cafe managementA Software Engineering Project on Cyber cafe management
A Software Engineering Project on Cyber cafe management
 
A project on Ecology case studies
A project on Ecology case studiesA project on Ecology case studies
A project on Ecology case studies
 
A project on advanced C language
A project on advanced C languageA project on advanced C language
A project on advanced C language
 
A MATLAB project on LCR circuits
A MATLAB project on LCR circuitsA MATLAB project on LCR circuits
A MATLAB project on LCR circuits
 
10_CERITIFICATE
10_CERITIFICATE10_CERITIFICATE
10_CERITIFICATE
 
Pedal power hacksaw
Pedal power hacksawPedal power hacksaw
Pedal power hacksaw
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook application
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook application
 
The taipei 101 tower
The taipei 101 towerThe taipei 101 tower
The taipei 101 tower
 
Mac book
Mac bookMac book
Mac book
 
Apple i phone presentation
Apple i phone presentationApple i phone presentation
Apple i phone presentation
 

Dernier

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfShivakumar Viswanathan
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfAayushChavan5
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubaikojalkojal131
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxmapanig881
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in designnooreen17
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 

Dernier (20)

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdf
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdf
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptx
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in design
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 

A mini project on designing a DATABASE for Library management system using mySQL

  • 1. K L UNIVERSITY Green Fields, Vaddeswaram Department of Computer science and Engineering 2016 DATABASE SYSTEMS Library Management System Submitted by Faculty K.Chakitha-150030458 Bhupesh Deka S.V.Rohith-150031000 section-10, batch-24
  • 2. CERTIFICATE This is to certify that the Project entitled “Library Management System”, being submitted by K.Chakitha-150030458, S.V.Rohith-150031000 in partial fulfillment for the award of degree of Bachelor of Technology in Computer science Engineering is a record of detailed work carried out under the guidance, during the academic year 2017 and it has been found worthy of acceptance according to the requirements of the university. Faculty In charge Bhupesh Deka
  • 3. ACKNOWLEDGEMENTS We are very much thankful to our loving Parents and Faculty for their care and responsibility in helping us to achieve this work done. We are also greatly indebted to our KLUniversity that has provided a healthy environment to drive us to achieve our ambitions and goals. Place: KLU Date: 11/04/2017
  • 4. TABLE OF CONTENTS Content Pg. No 1 Introduction 1 2 Data types 2 3 Data Requirements  Entities  Attributes  Relationships - cardinality 3 4 Entity Relationship Diagram 5 5 Schema Diagram 6 6 Creating database using MySQL 7 7 Test-case Queries 8 Conclusion 9 References
  • 5. 1. 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 virtual space or even both. Library’s resources and collections may include newspapers, books, films, prints, maps, CDs, tapes, videotapes, microform, database etc. The main aim of this system is to develop a new programmed system that will conveying ever 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 might find themselves. Library Management System allows the user to store the book details and the customer 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 the 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 will find it easy in this automated system rather than using the manual writing system. The system contains a database where all the information will be stored safely.
  • 6. 2. Data types and its description 1. Integer: one optional sign character (+ or -) followed by at least one digit (0-9). Leading and trailing blanks are ignored. No other character is allowed. 2. Varchar: It is used to store alpha numeric characters. In this data type we can set the maximum number of characters up to 8000 ranges by defaults SQL server will set the size to 50 characters range. 3. 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: YYYY-MM-DD. However, Point Base will also accept single digits entries for month and day values. 4. Time: The TIME data type accepts time values. No parameters are required when declaring a TIME data type. Date values should be specified in the form: HH:MM: SS. An optional fractional value can be used to represent nanoseconds.
  • 7. 3. Data Requirements Entities  BRANCH  EMPLOYEE  CUSTOMER  ISSUE STATUS  RETURN STATUS  BOOKS Attributes  BRANCH  Manager_id  Branch_id  Address  Contact_no  Branch_h_no  Street  City  State  Zipcode  CUSTOMER  Customer_id  Books_issued  Name  Address  Registration_date  ISSUE STATUS  Issue_book_name  Issue_id  Issue_date  ISBN  Customer_id  RETURN STATUS  Return_id  Return_date
  • 8.  Customer_id  Return_book_name  ISBN  BOOKS  ISBN  Title  Category  Rental_price  Author  Publisher  Status RELATIONSHIPS - CARDINALITY  MANAGER manages the BRANCH (1 - N)  CUSTOMER registers in the respective BRANCH (N – 1)  CUSTOMER issues BOOKS (1 – N)  CUSTOMER returns BOOKS (N – 1)  EMPLOYEE updates BOOKS (N – N)
  • 9. 4. Entity-Relationship-DIAGRAM Entity Relationship Diagram is used in modern database software engineering to illustrate logical structure of database. It is a relational schema database modelling method used to Model a system and approach. This approach commonly used in database design. The diagram created using this method is called ER-diagram. The ER-diagram depicts the various relationships among entities, considering each object as entity. Entity is represented as rectangle shape and relationship represented as diamond shape. It depicts the relationship between data object. The ER-diagram is the notation that is used to conduct the data modelling activity.
  • 10. 5. SCHEMA DIAGRAM A schema is the structure behind data organization. It is a visual representation of how different table relationships enable the schema’s underlying mission business rules for which the database is created. Database schema defines its entities and the relationship among them. It contains a descriptive detail of the database, which can be depicted by means of schema diagrams. It's the database designers who design the schema to help programmers understand the database and make it useful. Schema diagrams have an important function because they force database developers to transpose ideas to paper. This provides an overview of the entire database, while facilitating future database administrator work.
  • 11. 6. CREATING DATABASE USING MYSQL mysql> create database libproject; mysql> use libproject; Database changed mysql> CREATE TABLE BOOKS(ISBN int(100) not null,book_title varchar(50) not null,category varchar(50) not null,rental_price int(10) not null,status varchar(50),author varchar(50) not null,publisher varchar(50) not null,primary key(ISBN)) ; Query OK, 0 rows affected (1.44 sec) mysql> CREATE TABLE EMPLOYEE(employ_id int(10) not null,employ_name varchar(50) not null,position varchar(30) not null,salary int(10) not null,primary key(employ_id)); Query OK, 0 rows affected (0.35 sec) mysql> create table customer(customer_id int(10) not null,customer_name varchar(50),customer_address varchar(100) not null,registration_date date not null,primary key(customer_id)); Query OK, 0 rows affected (0.38 sec) mysql> create table brach(branch_no int(10) not null,manager_id int(10) not null,branch_address varchar(100) not null,contact_no int(10) not null,primary key(branch_no)); Query OK, 0 rows affected (0.49 sec) mysql> create table issue_status(issue_id int(10) not null,issued_cust int(10) not null,issued_book_name varchar(50) not null,issue_date date not null,isbn_book int(10) not null,primary key(issue_id),constraint foreign key(isbn_book) references BOOKS(ISBN),constraint foreign key(issued_cust) references customer(customer_id)); Query OK, 0 rows affected (0.66 sec) mysql> alter table brach rename branch;
  • 12. Query OK, 0 rows affected (0.50 sec) mysql> create table return_status(return_id int(10) not null,return_cust int(10) not null,returned_book_name varchar(50) not null,return_date date not null,isbn_book2 int(10) not null,primary key(return_id),constraint foreign key(isbn_book2) references BOOKS(ISBN),constraint foreign key(return_cust) references issue_status(issued_cust)); Query OK, 0 rows affected (0.39 sec)
  • 13.
  • 14. mysql> insert into books values(1000,'book1','comedy',5,'available','author1','pub1'); Query OK, 1 row affected (0.18 sec) mysql> insert into books values(1001,'book2','scifi',3,'available','author2','pub2'); Query OK, 1 row affected (0.08 sec) mysql> insert into books values(1003,'book3','romance',1,'un- available','author3','pub3'); Query OK, 1 row affected (0.06 sec) mysql> insert into books values(1004,'book4','thriller',7,'available','author4','pub4'); Query OK, 1 row affected (0.07 sec)
  • 15. mysql> alter table branch add constraint foreign key(manager_id) references employee(employ_id); Query OK, 0 rows affected (1.20 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> insert into employee values(991,'emp1','manager',30000); Query OK, 1 row affected (0.06 sec) mysql> insert into employee values(992,'emp2','worker',10000); Query OK, 1 row affected (0.07 sec) mysql> insert into employee values(993,'emp3','worker',10000); Query OK, 1 row affected (0.05 sec) mysql> insert into employee values(994,'emp4','reader',20000); Query OK, 1 row affected (0.07 sec) mysql> insert into employee values(995,'emp5','assist',20000); Query OK, 1 row affected (0.07 sec)
  • 16. mysql> insert into branch values(1,991,'branch_addr1',987654321); Query OK, 1 row affected (0.07 sec) mysql> insert into branch values(3,993,'branch_addr3',987654323); Query OK, 1 row affected (0.09 sec) mysql> insert into customer values(11,'cus1','hom1','2008:10:10'); Query OK, 1 row affected (0.07 sec) mysql> insert into customer values(12,'cus2','hom2','2008:03:03'); Query OK, 1 row affected (0.09 sec) mysql> insert into customer values(13,'cus3','hom3','2009:03:03'); Query OK, 1 row affected (0.07 sec) mysql> insert into customer values(14,'cus4','hom4','2009:04:04'); Query OK, 1 row affected (0.06 sec) mysql> insert into issue_status values(51,12,'book1','2010:01:01',1001);
  • 17. Query OK, 1 row affected (0.08 sec) mysql> insert into issue_status values(52,14,'book4','2010:01:01',1004); Query OK, 1 row affected (0.06 sec) mysql> insert into return_status values(61,12,'book1','2010:10:01',1001); Query OK, 1 row affected (0.08 sec) mysql> insert into return_status values(62,13,'book1','2010:10:01',1001); ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`libproject`.`return_status`, CONSTRAINT `return_status_ibfk_2` FOREIGN KEY (`return_cust`) REFERENCES `issue_status` (`issued_cust`)) Since customer id-13 isn’t taken any book, we cannot blindly give the input!!
  • 18. 7. TEST QUERIES 1. Display the customer name who took the book of type comedy. Mysql>select customer_name from customer where book_type=’comedy’; 2. Display issue id ,issued customer name whose ibsn book number is 1004. Mysql>select issue_id , issued_cust from issue_status where isbn_book=1004; 3. Display all contents in issue status table where isbn book of issue table and return table are equal. Mysql>select p.* from issue_status p, return_status r where p.isbn_book=r.isbn_book2;
  • 19. 4. Add a column called book type in customer table. Mysql>alter table customer add book_type varchar(10) not null; Query ok,4 rows affected(0.37sec) Records:4 Duplicates:0 Warnings:0 Mysql>describe customer;
  • 20. 8. CONCLUSION • SQL database management application which is very well used in the modern world in organising and manipulating a database. • Though SQL doesn’t have the GUI interface like Microsoft access is having and they all manage the database comfortable. • Depending on the user or users, if an organisation has multiple users then they should go for SQL server based application. • This project shows how to create tables in SQL and how to create simple data manipulation language and data definition language with how to execute them.
  • 21. • It also shows how relationships are established with the concepts of primary and foreign key within a table. • Lastly, the project shows how queries are created in SQL server, queries like the create command, view, update, alter etc. 9. REFERENCES  http://people.cs.pitt.edu/~chang/156/03ERmodel.html  http://www.academia.edu/13780884/Database_system_for_library_man agement_system  https://lbsitbytes2010.wordpress.com/2013/09/21/er-diagram-of- library-management-rno15s5cs2/  https://www.slideshare.net/fiu025/library-management- 32343393?next_slideshow=1  http://www.c-sharpcorner.com/UploadFile/ea3ed6/database-design-for- library-management-system/  http://stackoverflow.com/questions/17641134/what-is-different- between-er-diagram-and-database-schema