relational data models in enterprise-level information system
DESCRIPTION
TRANSCRIPT
![Page 1: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/1.jpg)
LIBRARY MANAGEMENT SYSTEM
Presented by:Farouq Umar Idris
Sadik MikailHalima Musa Abdullahi
![Page 2: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/3.jpg)
SQL Languages
Data manipulation language (DML) Data definition language (DDL) Data control language (DCL)
![Page 4: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/4.jpg)
DATA MANIPULATION LANGUAGE
Select Delete Update Insert
![Page 5: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/5.jpg)
DATA DEFINITION LANGUAGE
Create Drop Alter
![Page 6: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/6.jpg)
DATA CONTROL LANGUAGE
Grant Revoke
![Page 7: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/9.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/10.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/12.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/13.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/14.jpg)
ER-Diagram
![Page 15: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/15.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/16.jpg)
Library database in MS-Access
![Page 17: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/17.jpg)
View of Table in Access
![Page 18: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/18.jpg)
View of Form in Access
![Page 19: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/19.jpg)
Relationships of tables
![Page 20: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/20.jpg)
Creating database in SQL
![Page 21: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/21.jpg)
Executed table (branch)
![Page 22: Relational data models in enterprise-level information system](https://reader035.vdocuments.site/reader035/viewer/2022070303/5490af6db47959362c8b4603/html5/thumbnails/22.jpg)
Executed table (branch)