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

Relational data models in enterprise-level information system.

Dec 17, 2014

Download

Education

farouq umar

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Relational data models in enterprise-level information system.

LIBRARY MANAGEMENT SYSTEM

Presented by:Farouq Umar Idris

Sadik MikailHalima Musa Abdullahi

Page 2: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

SQL Languages

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

Page 4: Relational data models in enterprise-level information system.

DATA MANIPULATION LANGUAGE

Select Delete Update Insert

Page 5: Relational data models in enterprise-level information system.

DATA DEFINITION LANGUAGE

Create Drop Alter

Page 6: Relational data models in enterprise-level information system.

DATA CONTROL LANGUAGE

Grant Revoke

Page 7: Relational data models in enterprise-level information system.

Database definition

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

Page 8: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

ER-Diagram

Page 15: Relational data models in enterprise-level information system.

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: Relational data models in enterprise-level information system.

Library database in MS-Access

Page 17: Relational data models in enterprise-level information system.

View of Table in Access

Page 18: Relational data models in enterprise-level information system.

View of Form in Access

Page 19: Relational data models in enterprise-level information system.

Relationships of tables

Page 20: Relational data models in enterprise-level information system.

Creating database in SQL

Page 21: Relational data models in enterprise-level information system.

Executed table (branch)

Page 22: Relational data models in enterprise-level information system.

Executed table (branch)