relational data models in enterprise-level information system

Post on 17-Dec-2014

95 Views

Category:

Education

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

LIBRARY MANAGEMENT SYSTEM

Presented by:Farouq Umar Idris

Sadik MikailHalima Musa Abdullahi

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

SQL Languages

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

DATA MANIPULATION LANGUAGE

Select Delete Update Insert

DATA DEFINITION LANGUAGE

Create Drop Alter

DATA CONTROL LANGUAGE

Grant Revoke

Database definition

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

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.

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.

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.

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

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.

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)

ER-Diagram

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

Library database in MS-Access

View of Table in Access

View of Form in Access

Relationships of tables

Creating database in SQL

Executed table (branch)

Executed table (branch)

top related