22
LIBRARY MANAGEMENT SYSTEM Presented by: Farouq Umar Idris Sadik Mikail Halima Musa Abdullahi

library management system in SQL

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: library management system in SQL

LIBRARY MANAGEMENT SYSTEM

Presented by:Farouq Umar Idris

Sadik MikailHalima Musa Abdullahi

Page 2: library management system in SQL

What is SQL

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).

Page 3: library management system in SQL

SQL Languages

Data manipulation language (DML) Data definition language (DDL) Data control language (DCL)

Page 4: library management system in SQL

DATA MANIPULATION LANGUAGE

Select Delete Update Insert

Page 5: library management system in SQL

DATA DEFINITION LANGUAGE

Create Drop Alter

Page 6: library management system in SQL

DATA CONTROL LANGUAGE

Grant Revoke

Page 7: library management system in SQL

Database definition

A database is a collection of organised data. E.g. collecting information about all employees in an organisation.

Page 8: library management system in SQL

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.

Page 9: library management system in SQL

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.

Page 10: library management system in SQL

DIFFERENCE BETWEEN DBMS AND RDBMS

DBMS is used in just managing database while RDBMS is used to maintain relationship among tables.

DBMS accepts flat file entry data type but RDBMS does not

RDBMS is used in complex applications while DBMS is used in simpler applications

RDBMS enforces the use and rules of foreign key but DMBS does not

DBMS manage only small entry of data while RDBMS can manage both large and small entry sets of data.

Page 11: library management system in SQL

DIFFERENCE BETWEEN SQL AND ACCESS

SQL Server is a server based database while Microsoft Access is used as local database.

Access is used for small desktop size databases used by less than 5 users at the same time while SQL Server is a more robust system and is able to handle large amounts of users as well as data sizes

MS-access have a front end GUI system to design applications quickly while does not have front end GUI system so it will require other development tools (Visual Studios, .NET, VB, C++, etc.)

Page 12: library management system in SQL

Library

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.

Page 13: library management system in SQL

Tables in library database

Books (book_id, bookName, bookisbn, BOOKAUTHOR and bookedition)

Customer (customer_id, customername, customer_email, customer_address)

Staff (staff_id, staff_name, staff_address, staff_gender, staff _phone)

Branch (branch_id, branch_name, branch_location)

Issue (issue_id, issue_date, expiry_date, book_name, book_id)

Return (return_id, expiry_date, isuue_date, book_id)

Page 14: library management system in SQL

ER-Diagram

Page 15: library management system in SQL

Proposed system

Computerized customer service system Digital ID for customers and staff Use of a good RDBMS software in

manipulating data in the database RFID chip installed in books to ease

transactions and security purpose. Restrict access to database to only

administrators and/or authorised personnel only

Page 16: library management system in SQL

Library database in MS-Access

Page 17: library management system in SQL

View of Table in Access

Page 18: library management system in SQL

View of Form in Access

Page 19: library management system in SQL

Relationships of tables

Page 20: library management system in SQL

Creating database in SQL

Page 21: library management system in SQL

Executed table (branch)

Page 22: library management system in SQL

Executed table (branch)