SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
LIBRARY MANAGEMENT SYSTEM
LIBRARY MANAGEMENT SYSTEM
Farouq Umar Idris
Database Concepts and RDBMS (CIS206)
01/10/2013
Alka Khurana
LIBRARY MANAGEMENT SYSTEM 2
ABSTRACT
Library Management System has tremendous importance in managing library
database most especially when dealing with large number of customers. This project shows
how important upgradation of library management system to e-library management is with
the concepts of showing relationships using primary keys and foreign keys in both SQL and
Microsoft Access. It also shows how different SQL is to Microsoft access though both are
used in maintaining and manipulating data in database but at some point have their
differences.
LIBRARY MANAGEMENT SYSTEM 3
Contents
ABSTRACT...............................................................................................................................2
1.0 SQL DEFINITION .........................................................................................................4
1.1 DATA MANIPULATION LANGUAGE.......................................................................5
1.2 DATA DEFINITION LANGUAGE...............................................................................5
1.3 DATA CONTROL LANGUAGE ..................................................................................5
2.0 DATABASE AND MANAGEMENT SYSTEMS.........................................................6
2.1 DBMS .............................................................................................................................6
2.2 RDBMS...........................................................................................................................6
2.3 DIFFERENCE BETWEEN DBMS AND RDBMS .......................................................6
3.0 ABOUT THE SYSTEM .................................................................................................8
ER DIAGRAM ..........................................................................................................................9
FORMS....................................................................................................................................22
CREATING TABLES IN SQL AND INSERTING VALUES...............................................28
Reference .................................................................................................................................34
LIBRARY MANAGEMENT SYSTEM 4
1.0 SQL DEFINITION
Structured Query Language (more often known as SQL) is a programming language
specially designed to help user in manipulating data that are stored in relational database
management system (RDBMS).
SQL has three basic languages.
1. Data manipulation language (DML)
2. Data definition language (DDL)
3. Data control language (DCL)
LIBRARY MANAGEMENT SYSTEM 5
1.1 DATA MANIPULATION LANGUAGE
These include the following:
1. Select
2. Delete
3. Update
4. Insert
1.2 DATA DEFINITION LANGUAGE
These include:
1. Create
2. Drop
3. Alter
1.3 DATA CONTROL LANGUAGE
These include:
1. Grant
2. Revoke
LIBRARY MANAGEMENT SYSTEM 6
2.0 DATABASE AND MANAGEMENT SYSTEMS
A database is a collection of organised data. e.g. collecting information about all
employees in an organisation.
2.1 DBMS
Database management systems (DBMS) are applications specially designed for the
purpose of interacting with the user, the built database and other applications when capturing
and analysing data. There are lots of software systems that are general-purpose database
management system software which allows user to create, define, make querry, update and
administer databases. Some of this software includes Microsoft access, MySQL, SQLite,
FoxPro, dBASE, Oracle, FileMaker Pro etc.
2.2 RDBMS
Relational database management system (known as RDBMS) is an extension of
database management system which is based on relational modelling. It has become a
predominant choice of information storage in newly created databases used in personnel data,
logistics, manufacturing, finance etc. RDBMS has replaced the legacy databases and network
database used nowadays because it is easier and faster to use and understand
2.3 DIFFERENCE BETWEEN DBMS AND RDBMS
1. DBMS is used in just managing database while RDBMS is used to maintain relationship
among tables.
2. DBMS accepts flat file entry data type but RDBMS does not
3. RDBMS is used in complex applications while DBMS is used in simpler applications
4. RDBMS enforces the use and rules of foreign key but DMBS does not
LIBRARY MANAGEMENT SYSTEM 7
5. DBMS manage only small entry of data while RDBMS can manage both large and small
entry sets of data.
2.4 DIFFERENCE BETWEEN SQL AND ACCESS
1. SQL Server is a server based database while Microsoft Access is used as local database.
2. Access is used for small desktop size databases used by less than 5 users at the same time
and have a front end GUI system to design applications quickly while SQL Server is a
more robust system and is able to handle large amounts of users as well as data sizes and
does not have front end GUI system so it will require other development tools (Visual
Studios, .NET, VB, C++, etc.)
3. Access employs security based on the actual database settings. Each database can have
different security settings and employee lists. Logins are not tied to a users’ Windows
logon while in SQL, On Center Software recommends using Windows Authentication
when setting up an SQL database, that way, the users’ Windows security is transferred to
the database and only valid users can access the database AND the security is centralized.
LIBRARY MANAGEMENT SYSTEM 8
3.0 ABOUT THE SYSTEM
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 convey
an 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.
The library has the following tables in its database;
1. Books (book_id, bookName, bookisbn, BOOKAUTHOR and bookedition)
2. Customer (customer_id, customername, customer_email, customer_address)
3. Staff (staff_id, staff_name, staff_address, staff_gender, staff_phone)
4. Branch (branch_id, branch_name, branch_location)
5. Issue (issue_id, issue_date, expiry_date, book_name, book_id)
6. Return (return_id, expiry_date, isuue_date, book_id)
The attributes are used to identify and keep track of each item (entity) in the library using
relationships within them which is established by the use of unique key identifiers (concept of
primary and foreign keys)
LIBRARY MANAGEMENT SYSTEM 9
ER DIAGRAM
HAV
E
BRANCH
branchnam
e
location
Branch_id
LIBRARY MANAGEMENT SYSTEM 10
The database store the daily activity carried out in the library, the database system
provides a supported form for the customer to make booking as well as to retrieve and modify
the existing records from the database. In order to have full data administration, this data can
be promoted, retrieved, manipulated and updated, to get a new record of the services rendered
in the library. Therefore, the library would have a new computerized system that would
record the information of the daily services carried out within the library and all its branches.
In order to overcome the current problem the library is facing, the following solutions
need to be deployed;
1. Computerized customer payment system
2. Digital ID for customers and staff
3. Use of a good RDBMS software in manipulating data in the database
4. RFID chip installed in books to ease transactions and security purpose.
5. Restrict access to database to only administrators and/or authorised personnel only
LIBRARY MANAGEMENT SYSTEM 11
4.0 TABLES IN MICROSOFT ACCESS
Book table
Book table showing how data types are taken I n the book table
LIBRARY MANAGEMENT SYSTEM 12
Issue table
Issue table design view
LIBRARY MANAGEMENT SYSTEM 13
Customer table
Customer table design view, showing data types.
LIBRARY MANAGEMENT SYSTEM 14
Branch table
Above is the design view of branch table, showing how data are taken and how the data types
are defined.
LIBRARY MANAGEMENT SYSTEM 15
Return table
The return table has RETURN_ID which was taken as the primary key and a data
type set as number (autonumber). Other fields like BOOK_ID, ISSUE_ID, CUSTOMER_ID,
STAFF_ID are the foreign keys in the table having a data type of number.
LIBRARY MANAGEMENT SYSTEM 16
Staff table
In the table above, the staff_id is taken as the primary key and BRANCH_ID is the
foreign key in the table which has a data type number. Other fields like STAFFNAME,
STAFFADDRESS etc. are having a data type of text.
LIBRARY MANAGEMENT SYSTEM 17
Above is a screen capture of a database titled library created in Microsoft access showing
tables and forms created.
LIBRARY MANAGEMENT SYSTEM 18
The above screen shot show the book table in Microsoft access
LIBRARY MANAGEMENT SYSTEM 19
Customer table showing customer’s name and few more detail of the customer like email
address and customer id
LIBRARY MANAGEMENT SYSTEM 20
Issue table shows how book are issued to customers using the customer_id and book_id
LIBRARY MANAGEMENT SYSTEM 21
Library branch table showing branches with their respective locations and IDs
LIBRARY MANAGEMENT SYSTEM 22
FORMS
Forms can be used to update records in a master table. For instance a new customer
comes in and makes a transaction (e.g. he was issued a book), a new form will be made under
the customer’s ID and update his record through the form (i.e. if he is an existing customer)
or create new record for him (if he is a new customer).
LIBRARY MANAGEMENT SYSTEM 23
Book form, for updating or creating new book record in the database in Microsoft access
LIBRARY MANAGEMENT SYSTEM 24
Staff form, also used to update record of staff in the database.
LIBRARY MANAGEMENT SYSTEM 25
Return of borrowed books form. Used for monitoring return of book in the database.
LIBRARY MANAGEMENT SYSTEM 26
This form has to be filled before giving any book out to any customer.
LIBRARY MANAGEMENT SYSTEM 27
Customer data form. It is made very simple and easy in order to capture the
customers’’ information when registering with the library.
LIBRARY MANAGEMENT SYSTEM 28
CREATING TABLES IN SQL AND INSERTING VALUES
Above is database titled library created in SQL using MySQL application. The
database library is created and a table (book) was created in it where various values were
assigned to it. Among the values is Book_id which represents the primary key of the table.
Insert values in done by using the command “insert into” where it allocates the written
value into the values assigned.
LIBRARY MANAGEMENT SYSTEM 29
Above is the view of the inserted vales into the table “book”. Viewing the values is
done by using the command “select *from book” after executing it, it displays all the inserted
values as seen above.
LIBRARY MANAGEMENT SYSTEM 30
Table above shows how to create another table (branch) in the database library.
LIBRARY MANAGEMENT SYSTEM 31
After executing, it shows the values inserted in the table.
LIBRARY MANAGEMENT SYSTEM 32
This is the relationship generated for the entire tables generated from the database
LIBRARY MANAGEMENT SYSTEM 33
7.0 CONCLUSION
• SQL and Microsoft access are all database management application which is very well
used in the modern world in organising and manipulating a database.
• Though they have their differences like the GUI interface Microsoft access is having and
SQL doesn’t have, they all manage the database comfortable.
• Depending on the user or users, if an organisation have multiple users then they should go
for SQL server based application else if, they should go for Microsoft access.
• This project shows how to create tables in both SQL and Microsoft access and also 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.
LIBRARY MANAGEMENT SYSTEM 34
Reference
1. Henry J. Lucas, 2008, Database management for business organisation fifth edition.
2. Alfanso Sucre, 1998, Managing business database second edition.
3. www.sqlquerry.net
4. www.w3schools.com/sql/

Mais conteúdo relacionado

Mais procurados

Library management system
Library management systemLibrary management system
Library management systemsiddiqui241993
 
online library management system
online library management systemonline library management system
online library management systemVirani Sagar
 
Library Management System Project in PHP with BlackBook & Source Code
Library Management System Project in PHP with BlackBook & Source CodeLibrary Management System Project in PHP with BlackBook & Source Code
Library Management System Project in PHP with BlackBook & Source CodeRadikhaSharma
 
Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaVikas Sharma
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemRanjan Ranjan
 
Library management system
Library management systemLibrary management system
Library management systemNi
 
Library management system
Library management systemLibrary management system
Library management systemArman Ahmed
 
Final Presentation on Online Library Management
Final Presentation on Online Library ManagementFinal Presentation on Online Library Management
Final Presentation on Online Library ManagementSneha Yadav
 
Library Management System Project Report
Library Management System Project Report Library Management System Project Report
Library Management System Project Report Abu Kaisar
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation Smit Patel
 
Library management system
Library management systemLibrary management system
Library management systemParesh Gosavi
 
Library management system
Library management systemLibrary management system
Library management systemKamal Krish
 
A mini project on designing a DATABASE for Library management system using mySQL
A mini project on designing a DATABASE for Library management system using mySQLA mini project on designing a DATABASE for Library management system using mySQL
A mini project on designing a DATABASE for Library management system using mySQLsvrohith 9
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemAditya Shah
 
17337071 srs-library-management-system
17337071 srs-library-management-system17337071 srs-library-management-system
17337071 srs-library-management-systemANAS NAIN
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.docjimmykhan
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemMartins Okoi
 
Online Library management system proposal by Banuka Dananjaya Subasinghe
Online Library management system proposal by Banuka Dananjaya SubasingheOnline Library management system proposal by Banuka Dananjaya Subasinghe
Online Library management system proposal by Banuka Dananjaya SubasingheBanukaSubasinghe
 

Mais procurados (20)

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
 
Library Management System Project in PHP with BlackBook & Source Code
Library Management System Project in PHP with BlackBook & Source CodeLibrary Management System Project in PHP with BlackBook & Source Code
Library Management System Project in PHP with BlackBook & Source Code
 
Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharma
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Srs library m s
Srs library m sSrs library m s
Srs library m s
 
Library management system
Library management systemLibrary management system
Library management system
 
Final Presentation on Online Library Management
Final Presentation on Online Library ManagementFinal Presentation on Online Library Management
Final Presentation on Online Library Management
 
Library Management System Project Report
Library Management System Project Report Library Management System Project Report
Library Management System Project Report
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Library management system
Library management systemLibrary management system
Library management system
 
A mini project on designing a DATABASE for Library management system using mySQL
A mini project on designing a DATABASE for Library management system using mySQLA mini project on designing a DATABASE for Library management system using mySQL
A mini project on designing a DATABASE for Library management system using mySQL
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
17337071 srs-library-management-system
17337071 srs-library-management-system17337071 srs-library-management-system
17337071 srs-library-management-system
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Online Library management system proposal by Banuka Dananjaya Subasinghe
Online Library management system proposal by Banuka Dananjaya SubasingheOnline Library management system proposal by Banuka Dananjaya Subasinghe
Online Library management system proposal by Banuka Dananjaya Subasinghe
 

Destaque

Library management sytem
Library management sytemLibrary management sytem
Library management sytemashu6
 
Library Favorites and Resource Modeling
Library Favorites and Resource ModelingLibrary Favorites and Resource Modeling
Library Favorites and Resource ModelingKen Varnum
 
ER-Diagram Library System
ER-Diagram Library SystemER-Diagram Library System
ER-Diagram Library SystemWarawut
 
PHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsPHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsAbdul Rahman Sherzad
 
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
 
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
 
Library Management system Database queries
Library Management system Database queriesLibrary Management system Database queries
Library Management system Database queriesreshmajohney
 
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
 
Library management system
Library management systemLibrary management system
Library management systemRaaghav Bhatia
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPTTamaghna Banerjee
 

Destaque (11)

Library management sytem
Library management sytemLibrary management sytem
Library management sytem
 
Library Favorites and Resource Modeling
Library Favorites and Resource ModelingLibrary Favorites and Resource Modeling
Library Favorites and Resource Modeling
 
ER-Diagram Library System
ER-Diagram Library SystemER-Diagram Library System
ER-Diagram Library System
 
PHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsPHP Unicode Input Validation Snippets
PHP Unicode Input Validation Snippets
 
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
 
Entity Relationship Diagram of Library System
Entity Relationship Diagram of Library SystemEntity Relationship Diagram of Library System
Entity Relationship Diagram of Library System
 
Library Management system Database queries
Library Management system Database queriesLibrary Management system Database queries
Library Management system Database queries
 
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
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPT
 

Semelhante a Library management

Database Management System For A Company
Database Management System For A CompanyDatabase Management System For A Company
Database Management System For A CompanyJessica Myers
 
Database Management system
Database Management systemDatabase Management system
Database Management systemVijay Thorat
 
Database Management Systems ( Dbms )
Database Management Systems ( Dbms )Database Management Systems ( Dbms )
Database Management Systems ( Dbms )Patty Buckley
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Rupen Parte
 
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxLESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxcalf_ville86
 
Data base management system
Data base management systemData base management system
Data base management systemSuneel Dogra
 
Application Of A New Database Management System
Application Of A New Database Management SystemApplication Of A New Database Management System
Application Of A New Database Management SystemPamela Wright
 
Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systemsDatasoft Consulting
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management SystemsGeorge Grayson
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONSghazi103
 
A database management system
A database management systemA database management system
A database management systemghulam120
 
Database Computer presentation file .pptx
Database Computer presentation file .pptxDatabase Computer presentation file .pptx
Database Computer presentation file .pptxMisqalezara
 
Database Management System ( Dbms )
Database Management System ( Dbms )Database Management System ( Dbms )
Database Management System ( Dbms )Kimberly Brooks
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptLisaMalar
 

Semelhante a Library management (20)

Database Management System For A Company
Database Management System For A CompanyDatabase Management System For A Company
Database Management System For A Company
 
IP PROJECT FILE
IP PROJECT FILEIP PROJECT FILE
IP PROJECT FILE
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Database Management system
Database Management systemDatabase Management system
Database Management system
 
Database Management Systems ( Dbms )
Database Management Systems ( Dbms )Database Management Systems ( Dbms )
Database Management Systems ( Dbms )
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
 
Data Base
Data BaseData Base
Data Base
 
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxLESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
 
HRIS UNIT 2 2021.pptx
HRIS UNIT 2 2021.pptxHRIS UNIT 2 2021.pptx
HRIS UNIT 2 2021.pptx
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
 
Data base management system
Data base management systemData base management system
Data base management system
 
Application Of A New Database Management System
Application Of A New Database Management SystemApplication Of A New Database Management System
Application Of A New Database Management System
 
Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systems
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
 
A database management system
A database management systemA database management system
A database management system
 
Database Computer presentation file .pptx
Database Computer presentation file .pptxDatabase Computer presentation file .pptx
Database Computer presentation file .pptx
 
Database Management System ( Dbms )
Database Management System ( Dbms )Database Management System ( Dbms )
Database Management System ( Dbms )
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.ppt
 
INT 1010 07-5.pdf
INT 1010 07-5.pdfINT 1010 07-5.pdf
INT 1010 07-5.pdf
 

Mais de farouq umar

Internet Marketing Summary chapter 1-3
Internet Marketing Summary chapter 1-3Internet Marketing Summary chapter 1-3
Internet Marketing Summary chapter 1-3farouq umar
 
Aristotelian branches of philosophy
Aristotelian branches of philosophyAristotelian branches of philosophy
Aristotelian branches of philosophyfarouq umar
 
Erp implementation
Erp implementationErp implementation
Erp implementationfarouq umar
 
Configuration testing
Configuration testingConfiguration testing
Configuration testingfarouq umar
 
Online examination
Online examinationOnline examination
Online examinationfarouq umar
 
Metro station documentation
Metro station documentationMetro station documentation
Metro station documentationfarouq umar
 
Oops concepts in c++ documentation
Oops concepts in c++ documentationOops concepts in c++ documentation
Oops concepts in c++ documentationfarouq umar
 
Business plan USING POPULATION PYRAMID
Business plan USING POPULATION PYRAMIDBusiness plan USING POPULATION PYRAMID
Business plan USING POPULATION PYRAMIDfarouq umar
 
ARISTOTLE PHILOSOPHY
ARISTOTLE PHILOSOPHYARISTOTLE PHILOSOPHY
ARISTOTLE PHILOSOPHYfarouq umar
 
ERP IMPLEMENTATION
ERP IMPLEMENTATION ERP IMPLEMENTATION
ERP IMPLEMENTATION farouq umar
 
Specialisterne CASE STUDY
Specialisterne CASE STUDYSpecialisterne CASE STUDY
Specialisterne CASE STUDYfarouq umar
 
HARLEY DAVIDSON CASE STUDY SOLUTION
HARLEY DAVIDSON CASE STUDY SOLUTIONHARLEY DAVIDSON CASE STUDY SOLUTION
HARLEY DAVIDSON CASE STUDY SOLUTIONfarouq umar
 
Relational data models in enterprise-level information system.
Relational data models in enterprise-level information system. Relational data models in enterprise-level information system.
Relational data models in enterprise-level information system. farouq umar
 
Zhejiang corporation of china telecom case study
Zhejiang corporation of china telecom case studyZhejiang corporation of china telecom case study
Zhejiang corporation of china telecom case studyfarouq umar
 
business communication
business communicationbusiness communication
business communicationfarouq umar
 
Construction company business plan
Construction company business planConstruction company business plan
Construction company business planfarouq umar
 

Mais de farouq umar (18)

Internet Marketing Summary chapter 1-3
Internet Marketing Summary chapter 1-3Internet Marketing Summary chapter 1-3
Internet Marketing Summary chapter 1-3
 
Aristotelian branches of philosophy
Aristotelian branches of philosophyAristotelian branches of philosophy
Aristotelian branches of philosophy
 
Honor killing
Honor killingHonor killing
Honor killing
 
Erp implementation
Erp implementationErp implementation
Erp implementation
 
Configuration testing
Configuration testingConfiguration testing
Configuration testing
 
Srs for library
Srs for librarySrs for library
Srs for library
 
Online examination
Online examinationOnline examination
Online examination
 
Metro station documentation
Metro station documentationMetro station documentation
Metro station documentation
 
Oops concepts in c++ documentation
Oops concepts in c++ documentationOops concepts in c++ documentation
Oops concepts in c++ documentation
 
Business plan USING POPULATION PYRAMID
Business plan USING POPULATION PYRAMIDBusiness plan USING POPULATION PYRAMID
Business plan USING POPULATION PYRAMID
 
ARISTOTLE PHILOSOPHY
ARISTOTLE PHILOSOPHYARISTOTLE PHILOSOPHY
ARISTOTLE PHILOSOPHY
 
ERP IMPLEMENTATION
ERP IMPLEMENTATION ERP IMPLEMENTATION
ERP IMPLEMENTATION
 
Specialisterne CASE STUDY
Specialisterne CASE STUDYSpecialisterne CASE STUDY
Specialisterne CASE STUDY
 
HARLEY DAVIDSON CASE STUDY SOLUTION
HARLEY DAVIDSON CASE STUDY SOLUTIONHARLEY DAVIDSON CASE STUDY SOLUTION
HARLEY DAVIDSON CASE STUDY SOLUTION
 
Relational data models in enterprise-level information system.
Relational data models in enterprise-level information system. Relational data models in enterprise-level information system.
Relational data models in enterprise-level information system.
 
Zhejiang corporation of china telecom case study
Zhejiang corporation of china telecom case studyZhejiang corporation of china telecom case study
Zhejiang corporation of china telecom case study
 
business communication
business communicationbusiness communication
business communication
 
Construction company business plan
Construction company business planConstruction company business plan
Construction company business plan
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Library management

  • 1. LIBRARY MANAGEMENT SYSTEM LIBRARY MANAGEMENT SYSTEM Farouq Umar Idris Database Concepts and RDBMS (CIS206) 01/10/2013 Alka Khurana
  • 2. LIBRARY MANAGEMENT SYSTEM 2 ABSTRACT Library Management System has tremendous importance in managing library database most especially when dealing with large number of customers. This project shows how important upgradation of library management system to e-library management is with the concepts of showing relationships using primary keys and foreign keys in both SQL and Microsoft Access. It also shows how different SQL is to Microsoft access though both are used in maintaining and manipulating data in database but at some point have their differences.
  • 3. LIBRARY MANAGEMENT SYSTEM 3 Contents ABSTRACT...............................................................................................................................2 1.0 SQL DEFINITION .........................................................................................................4 1.1 DATA MANIPULATION LANGUAGE.......................................................................5 1.2 DATA DEFINITION LANGUAGE...............................................................................5 1.3 DATA CONTROL LANGUAGE ..................................................................................5 2.0 DATABASE AND MANAGEMENT SYSTEMS.........................................................6 2.1 DBMS .............................................................................................................................6 2.2 RDBMS...........................................................................................................................6 2.3 DIFFERENCE BETWEEN DBMS AND RDBMS .......................................................6 3.0 ABOUT THE SYSTEM .................................................................................................8 ER DIAGRAM ..........................................................................................................................9 FORMS....................................................................................................................................22 CREATING TABLES IN SQL AND INSERTING VALUES...............................................28 Reference .................................................................................................................................34
  • 4. LIBRARY MANAGEMENT SYSTEM 4 1.0 SQL DEFINITION Structured Query Language (more often known as SQL) is a programming language specially designed to help user in manipulating data that are stored in relational database management system (RDBMS). SQL has three basic languages. 1. Data manipulation language (DML) 2. Data definition language (DDL) 3. Data control language (DCL)
  • 5. LIBRARY MANAGEMENT SYSTEM 5 1.1 DATA MANIPULATION LANGUAGE These include the following: 1. Select 2. Delete 3. Update 4. Insert 1.2 DATA DEFINITION LANGUAGE These include: 1. Create 2. Drop 3. Alter 1.3 DATA CONTROL LANGUAGE These include: 1. Grant 2. Revoke
  • 6. LIBRARY MANAGEMENT SYSTEM 6 2.0 DATABASE AND MANAGEMENT SYSTEMS A database is a collection of organised data. e.g. collecting information about all employees in an organisation. 2.1 DBMS Database management systems (DBMS) are applications specially designed for the purpose of interacting with the user, the built database and other applications when capturing and analysing data. There are lots of software systems that are general-purpose database management system software which allows user to create, define, make querry, update and administer databases. Some of this software includes Microsoft access, MySQL, SQLite, FoxPro, dBASE, Oracle, FileMaker Pro etc. 2.2 RDBMS Relational database management system (known as RDBMS) is an extension of database management system which is based on relational modelling. It has become a predominant choice of information storage in newly created databases used in personnel data, logistics, manufacturing, finance etc. RDBMS has replaced the legacy databases and network database used nowadays because it is easier and faster to use and understand 2.3 DIFFERENCE BETWEEN DBMS AND RDBMS 1. DBMS is used in just managing database while RDBMS is used to maintain relationship among tables. 2. DBMS accepts flat file entry data type but RDBMS does not 3. RDBMS is used in complex applications while DBMS is used in simpler applications 4. RDBMS enforces the use and rules of foreign key but DMBS does not
  • 7. LIBRARY MANAGEMENT SYSTEM 7 5. DBMS manage only small entry of data while RDBMS can manage both large and small entry sets of data. 2.4 DIFFERENCE BETWEEN SQL AND ACCESS 1. SQL Server is a server based database while Microsoft Access is used as local database. 2. Access is used for small desktop size databases used by less than 5 users at the same time and have a front end GUI system to design applications quickly while SQL Server is a more robust system and is able to handle large amounts of users as well as data sizes and does not have front end GUI system so it will require other development tools (Visual Studios, .NET, VB, C++, etc.) 3. Access employs security based on the actual database settings. Each database can have different security settings and employee lists. Logins are not tied to a users’ Windows logon while in SQL, On Center Software recommends using Windows Authentication when setting up an SQL database, that way, the users’ Windows security is transferred to the database and only valid users can access the database AND the security is centralized.
  • 8. LIBRARY MANAGEMENT SYSTEM 8 3.0 ABOUT THE SYSTEM 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 convey an 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. The library has the following tables in its database; 1. Books (book_id, bookName, bookisbn, BOOKAUTHOR and bookedition) 2. Customer (customer_id, customername, customer_email, customer_address) 3. Staff (staff_id, staff_name, staff_address, staff_gender, staff_phone) 4. Branch (branch_id, branch_name, branch_location) 5. Issue (issue_id, issue_date, expiry_date, book_name, book_id) 6. Return (return_id, expiry_date, isuue_date, book_id) The attributes are used to identify and keep track of each item (entity) in the library using relationships within them which is established by the use of unique key identifiers (concept of primary and foreign keys)
  • 9. LIBRARY MANAGEMENT SYSTEM 9 ER DIAGRAM HAV E BRANCH branchnam e location Branch_id
  • 10. LIBRARY MANAGEMENT SYSTEM 10 The database store the daily activity carried out in the library, the database system provides a supported form for the customer to make booking as well as to retrieve and modify the existing records from the database. In order to have full data administration, this data can be promoted, retrieved, manipulated and updated, to get a new record of the services rendered in the library. Therefore, the library would have a new computerized system that would record the information of the daily services carried out within the library and all its branches. In order to overcome the current problem the library is facing, the following solutions need to be deployed; 1. Computerized customer payment system 2. Digital ID for customers and staff 3. Use of a good RDBMS software in manipulating data in the database 4. RFID chip installed in books to ease transactions and security purpose. 5. Restrict access to database to only administrators and/or authorised personnel only
  • 11. LIBRARY MANAGEMENT SYSTEM 11 4.0 TABLES IN MICROSOFT ACCESS Book table Book table showing how data types are taken I n the book table
  • 12. LIBRARY MANAGEMENT SYSTEM 12 Issue table Issue table design view
  • 13. LIBRARY MANAGEMENT SYSTEM 13 Customer table Customer table design view, showing data types.
  • 14. LIBRARY MANAGEMENT SYSTEM 14 Branch table Above is the design view of branch table, showing how data are taken and how the data types are defined.
  • 15. LIBRARY MANAGEMENT SYSTEM 15 Return table The return table has RETURN_ID which was taken as the primary key and a data type set as number (autonumber). Other fields like BOOK_ID, ISSUE_ID, CUSTOMER_ID, STAFF_ID are the foreign keys in the table having a data type of number.
  • 16. LIBRARY MANAGEMENT SYSTEM 16 Staff table In the table above, the staff_id is taken as the primary key and BRANCH_ID is the foreign key in the table which has a data type number. Other fields like STAFFNAME, STAFFADDRESS etc. are having a data type of text.
  • 17. LIBRARY MANAGEMENT SYSTEM 17 Above is a screen capture of a database titled library created in Microsoft access showing tables and forms created.
  • 18. LIBRARY MANAGEMENT SYSTEM 18 The above screen shot show the book table in Microsoft access
  • 19. LIBRARY MANAGEMENT SYSTEM 19 Customer table showing customer’s name and few more detail of the customer like email address and customer id
  • 20. LIBRARY MANAGEMENT SYSTEM 20 Issue table shows how book are issued to customers using the customer_id and book_id
  • 21. LIBRARY MANAGEMENT SYSTEM 21 Library branch table showing branches with their respective locations and IDs
  • 22. LIBRARY MANAGEMENT SYSTEM 22 FORMS Forms can be used to update records in a master table. For instance a new customer comes in and makes a transaction (e.g. he was issued a book), a new form will be made under the customer’s ID and update his record through the form (i.e. if he is an existing customer) or create new record for him (if he is a new customer).
  • 23. LIBRARY MANAGEMENT SYSTEM 23 Book form, for updating or creating new book record in the database in Microsoft access
  • 24. LIBRARY MANAGEMENT SYSTEM 24 Staff form, also used to update record of staff in the database.
  • 25. LIBRARY MANAGEMENT SYSTEM 25 Return of borrowed books form. Used for monitoring return of book in the database.
  • 26. LIBRARY MANAGEMENT SYSTEM 26 This form has to be filled before giving any book out to any customer.
  • 27. LIBRARY MANAGEMENT SYSTEM 27 Customer data form. It is made very simple and easy in order to capture the customers’’ information when registering with the library.
  • 28. LIBRARY MANAGEMENT SYSTEM 28 CREATING TABLES IN SQL AND INSERTING VALUES Above is database titled library created in SQL using MySQL application. The database library is created and a table (book) was created in it where various values were assigned to it. Among the values is Book_id which represents the primary key of the table. Insert values in done by using the command “insert into” where it allocates the written value into the values assigned.
  • 29. LIBRARY MANAGEMENT SYSTEM 29 Above is the view of the inserted vales into the table “book”. Viewing the values is done by using the command “select *from book” after executing it, it displays all the inserted values as seen above.
  • 30. LIBRARY MANAGEMENT SYSTEM 30 Table above shows how to create another table (branch) in the database library.
  • 31. LIBRARY MANAGEMENT SYSTEM 31 After executing, it shows the values inserted in the table.
  • 32. LIBRARY MANAGEMENT SYSTEM 32 This is the relationship generated for the entire tables generated from the database
  • 33. LIBRARY MANAGEMENT SYSTEM 33 7.0 CONCLUSION • SQL and Microsoft access are all database management application which is very well used in the modern world in organising and manipulating a database. • Though they have their differences like the GUI interface Microsoft access is having and SQL doesn’t have, they all manage the database comfortable. • Depending on the user or users, if an organisation have multiple users then they should go for SQL server based application else if, they should go for Microsoft access. • This project shows how to create tables in both SQL and Microsoft access and also 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.
  • 34. LIBRARY MANAGEMENT SYSTEM 34 Reference 1. Henry J. Lucas, 2008, Database management for business organisation fifth edition. 2. Alfanso Sucre, 1998, Managing business database second edition. 3. www.sqlquerry.net 4. www.w3schools.com/sql/