SlideShare a Scribd company logo
1 of 18
INTRODUCTION
TO DATABASE
University of Northern Philippines. College of Business Administration and Accountancy. Computer Education
ARPEE M. CALLEJO, MIT
Instructor
LEARNING OBJECTIVES
∎Learn database, its purpose, kinds and types
∎Learn the structured database models and Relational Database
Management System
∎Identify the relationship and their types
DATABASE∎ collection of organized data, information and records
∎ creating/making a list of classmates, list of relatives, list of friends, telephone directory
and so on; you’re actually generating a database
∎ Structural model defines how data is organized in a database and also determine the
set of operations that can be performed on a data (e.g. relational model)
∎ Computer database are those data/information stored in the computer
∎ Database software allows the user to collect, edit, delete and organize information for
easy manage, update and access of the user
∎ Microsoft Access is an example of database software
PURPOSE OF
DATABASE
• Database is important document
• Database is information that a person needs
“use it but do not abuse it”
datasets that grow so large that
they become awkward to work
with using on-hand database
management tools
∎ GOOGLE
DATAWAREHOUSE
∎ FACEBOOK
DATAWAREHOUSE
ENTITY
∎ is the term given to the category of information in database
▫A car dealer would be interested in entities such as clients, cars and salesmen.
▫A school would be interested in students, faculty and classes
▫A bookstore would be interested in customers, stores, branches and contractors
Examples
TYPES OF
DATABASEOPERATIONAL DATABASE
∎Dynamic database that is used by any
organization in its day to day operation
∎Use to collect, maintain, modify and delete
data
∎e.g. inventory database
ANALYTICAL DATABASE
∎Static database, wherein data is rarely modified
∎Use to store and track historical data to make long term
projections and analysis
∎e.g. data on global temperature to determine the effects off
global warming in a certain areas for a period of time
Is the color of blood, and because of this it has historically
been associated with sacrifice, danger and courage.
STRUCTURED
DATABASES
∎ HIEARARCHICAL MODEL
∎ NETWORK MODEL
∎ RELATIONAL MODEL
∎ ENTITY RELATIONSHIP MODEL
∎ DIMENSIONAL MODEL
∎ OBJECT RELATIONAL MODEL
HIEARARCHICAL MODEL
Model that can visualized as
a parent-child relationship
wherein child may only have
one parent but parent can
have many child
Tied and linked together by
“pointers” wherein parent
will have pointers to each
child
Visualizing inverted tree
NETWORK MODEL
Developed to address in part the
problem of the hierarchical
model
Visualized as an inverted tree,
however it allows many inverted
trees sharing branches but still
part of the same database
structure
RELATIONAL MODEL
developed by Dr. E.F. Codd of IBM
Relation is a table with columns
and rows
Domain is the value with which an
attribute will take
▪ Relational database model starts from a
table and contains information about an
entity.
▪ Represented in columns and row called
“tuples”.
▪ Refers to many tables
▪ Collection of tables
ENTITY RELATIONSHIP
MODEL
Written by Peter Chen in 1976
an abstract model and
conceptual representation of
data
DIMENSIONAL MODEL
Specialized adaptation using the
relational model that is used to
represent data in data warehouses
Single large table of information is
used using dimensions and measures
Dimension tells where, who and what
type while measure would mean a
quantity
Data warehouse is essentially
storage of all digital data of a
company or organization
OBJECT RELATIONAL
MODEL
Object Relational model – it
utilizes the relationship model
as well as the object-oriented
programming paradigm
Attempts to bring together
database and application
programming
RDBMS TERMINOLOGY
Relational Database Management System
• Data is a number/value found and stored in the database; static because it
remains the same until it is modified by a process
• Information is a data that has been processed to create a relevant and
meaningful to the person; dynamic because it changes relative to the date
stored in the database
• Null is use to represent a value that is unknown or missing; a null value is
either a zero nor blank
• Table is a main structure in the relational database; it composed of
attributes (fields) and domain (records)
RDBMS TERMINOLOGY
Relational Database Management System
• File is an organized collection of data about entity
• Record refers to a specific person, place, thing or event; it is also known as tuple
• Field is the smallest structure of a data from a larger database structure in a
relational database
• View is also known as a virtual table; I does not hold its own rather it gets data
from the table which it is based
• Keys (primary key and foreign key)
• Primary key is a field that uniquely identifies a record in the table
• Foreign key is a field that establishes a relationship between two tables
• Relationship exists when two or more tables have connection or association
things we can do with RDBMS
Information
management
Information
analysis
Print and share
information
Create a database
Information
storage
Information
retrieval
1. One-to-One relationship
□Exists between tables when only one
record of the first table is related to only
one record to a second table, and only
one record of the second table is related
to only one record to the first table
Place your screenshot here
Types of
Relationship
Place your screenshot
here
2. One-to-Many relationships
□Exists between tables when one record
of the first table can be related to one or
more records to a second table, but only
one record from the second table can be
related to a single record in the first table
□Most common relationship used to
avoid or eliminate duplicate and
redundant data
Place your screenshot
here
2.Many-to-one relationships
□Exists between tables when more than
one record of the first table can be
related to one record to a second table,
but only one record from the second
table can be related to a single record in
the first table
Place your screenshot here
3. Many-to-Many relationship
□Exists between tables when one record
of the first table can be related to one or
more records to a second table, and one
or more records of the second table is
related to one or more record s to the first
table
1. Databases are used for:
A. To entertain your friends
B. To store infomation
C. To create a presentation
2. Within a Database, infomation is stored in a:
A. Record
B. Cabinet
C. Field
3. The software to create a database is:
A. Google
B. Microsoft Word
C. Microsoft Access
QUIZ
4. Within a Record there are multiple:
A.
Fields
B.
Cabinets
C.
Databases
5. A place where are Database is used are:
A. Your House
B. Restaurant
C. Hospital
THANKS!Any questions?

More Related Content

What's hot

Creating a database
Creating a databaseCreating a database
Creating a database
Rahul Gupta
 

What's hot (20)

Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Database
DatabaseDatabase
Database
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Creating a database
Creating a databaseCreating a database
Creating a database
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
Database security
Database securityDatabase security
Database security
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Type of database models
Type of database modelsType of database models
Type of database models
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
database
databasedatabase
database
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Database management system
Database management system Database management system
Database management system
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Data models
Data modelsData models
Data models
 

Similar to Introduction to database

introductiontodatabases-151106233350-lva1-app6892(2).pptx
introductiontodatabases-151106233350-lva1-app6892(2).pptxintroductiontodatabases-151106233350-lva1-app6892(2).pptx
introductiontodatabases-151106233350-lva1-app6892(2).pptx
KvkExambranch
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
MR Z
 
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptxICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
Amanda783100
 
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
Anwar Patel
 

Similar to Introduction to database (20)

Graphics designing.pptx
Graphics designing.pptxGraphics designing.pptx
Graphics designing.pptx
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
DB- Lect #1 Intro.pdf
DB- Lect #1 Intro.pdfDB- Lect #1 Intro.pdf
DB- Lect #1 Intro.pdf
 
introductiontodatabases-151106233350-lva1-app6892(2).pptx
introductiontodatabases-151106233350-lva1-app6892(2).pptxintroductiontodatabases-151106233350-lva1-app6892(2).pptx
introductiontodatabases-151106233350-lva1-app6892(2).pptx
 
Manjeet Singh.pptx
Manjeet Singh.pptxManjeet Singh.pptx
Manjeet Singh.pptx
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Spatial Database and Database Management System
Spatial Database and Database Management SystemSpatial Database and Database Management System
Spatial Database and Database Management System
 
DBMS basics
DBMS basicsDBMS basics
DBMS basics
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
Database
DatabaseDatabase
Database
 
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptxICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
ICT NOTESmbjbujbhbuhuhhipv;ihsjhis 7.pptx
 
DIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptxDIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptx
 
PPT_DBMS.pptx
PPT_DBMS.pptxPPT_DBMS.pptx
PPT_DBMS.pptx
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Database Models.pdf
Database Models.pdfDatabase Models.pdf
Database Models.pdf
 
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
Lecture Basic HTML tags. Beginning Web Site Design Stanford University Contin...
 
Data models and ro
Data models and roData models and ro
Data models and ro
 

More from Arpee Callejo

More from Arpee Callejo (13)

Linkages - Level 3 tPhase 2 Survey Visit- University of Northern Philippines
Linkages - Level 3 tPhase 2 Survey Visit- University of Northern PhilippinesLinkages - Level 3 tPhase 2 Survey Visit- University of Northern Philippines
Linkages - Level 3 tPhase 2 Survey Visit- University of Northern Philippines
 
LP formulation and solution
LP formulation and solutionLP formulation and solution
LP formulation and solution
 
Excel solver
Excel solverExcel solver
Excel solver
 
How to Create Powerful Presentations
How to Create Powerful PresentationsHow to Create Powerful Presentations
How to Create Powerful Presentations
 
Microsoft PowerPoint 2013
Microsoft PowerPoint 2013Microsoft PowerPoint 2013
Microsoft PowerPoint 2013
 
SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...
SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...
SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...
 
PARAMETER PASSING MECHANISMS
PARAMETER PASSING MECHANISMSPARAMETER PASSING MECHANISMS
PARAMETER PASSING MECHANISMS
 
Effects of globalization to e commerce
Effects of globalization to e commerceEffects of globalization to e commerce
Effects of globalization to e commerce
 
Chapter 1-3
Chapter 1-3Chapter 1-3
Chapter 1-3
 
PENSHOPPE-Adv.comp101
PENSHOPPE-Adv.comp101PENSHOPPE-Adv.comp101
PENSHOPPE-Adv.comp101
 
PENSHOPPE [autosaved]
PENSHOPPE [autosaved]PENSHOPPE [autosaved]
PENSHOPPE [autosaved]
 
Iphone 6 plus ad
Iphone 6 plus adIphone 6 plus ad
Iphone 6 plus ad
 
Android & IOS
Android & IOSAndroid & IOS
Android & IOS
 

Recently uploaded

Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
LuisMiguelPaz5
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
23050636
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
zifhagzkk
 
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
wsppdmt
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
wsppdmt
 
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
mikehavy0
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
varanasisatyanvesh
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
yulianti213969
 
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted KitAbortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Introduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptxIntroduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptx
 
DAA Assignment Solution.pdf is the best1
DAA Assignment Solution.pdf is the best1DAA Assignment Solution.pdf is the best1
DAA Assignment Solution.pdf is the best1
 
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
jll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdfjll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdf
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted KitAbortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
Abortion pills in Riyadh Saudi Arabia| +966572737505 | Get Cytotec, Unwanted Kit
 
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
 

Introduction to database

  • 1. INTRODUCTION TO DATABASE University of Northern Philippines. College of Business Administration and Accountancy. Computer Education ARPEE M. CALLEJO, MIT Instructor
  • 2. LEARNING OBJECTIVES ∎Learn database, its purpose, kinds and types ∎Learn the structured database models and Relational Database Management System ∎Identify the relationship and their types
  • 3. DATABASE∎ collection of organized data, information and records ∎ creating/making a list of classmates, list of relatives, list of friends, telephone directory and so on; you’re actually generating a database ∎ Structural model defines how data is organized in a database and also determine the set of operations that can be performed on a data (e.g. relational model) ∎ Computer database are those data/information stored in the computer ∎ Database software allows the user to collect, edit, delete and organize information for easy manage, update and access of the user ∎ Microsoft Access is an example of database software
  • 4. PURPOSE OF DATABASE • Database is important document • Database is information that a person needs “use it but do not abuse it”
  • 5. datasets that grow so large that they become awkward to work with using on-hand database management tools ∎ GOOGLE DATAWAREHOUSE ∎ FACEBOOK DATAWAREHOUSE
  • 6. ENTITY ∎ is the term given to the category of information in database ▫A car dealer would be interested in entities such as clients, cars and salesmen. ▫A school would be interested in students, faculty and classes ▫A bookstore would be interested in customers, stores, branches and contractors Examples
  • 7. TYPES OF DATABASEOPERATIONAL DATABASE ∎Dynamic database that is used by any organization in its day to day operation ∎Use to collect, maintain, modify and delete data ∎e.g. inventory database ANALYTICAL DATABASE ∎Static database, wherein data is rarely modified ∎Use to store and track historical data to make long term projections and analysis ∎e.g. data on global temperature to determine the effects off global warming in a certain areas for a period of time Is the color of blood, and because of this it has historically been associated with sacrifice, danger and courage.
  • 8. STRUCTURED DATABASES ∎ HIEARARCHICAL MODEL ∎ NETWORK MODEL ∎ RELATIONAL MODEL ∎ ENTITY RELATIONSHIP MODEL ∎ DIMENSIONAL MODEL ∎ OBJECT RELATIONAL MODEL
  • 9. HIEARARCHICAL MODEL Model that can visualized as a parent-child relationship wherein child may only have one parent but parent can have many child Tied and linked together by “pointers” wherein parent will have pointers to each child Visualizing inverted tree NETWORK MODEL Developed to address in part the problem of the hierarchical model Visualized as an inverted tree, however it allows many inverted trees sharing branches but still part of the same database structure RELATIONAL MODEL developed by Dr. E.F. Codd of IBM Relation is a table with columns and rows Domain is the value with which an attribute will take ▪ Relational database model starts from a table and contains information about an entity. ▪ Represented in columns and row called “tuples”. ▪ Refers to many tables ▪ Collection of tables ENTITY RELATIONSHIP MODEL Written by Peter Chen in 1976 an abstract model and conceptual representation of data DIMENSIONAL MODEL Specialized adaptation using the relational model that is used to represent data in data warehouses Single large table of information is used using dimensions and measures Dimension tells where, who and what type while measure would mean a quantity Data warehouse is essentially storage of all digital data of a company or organization OBJECT RELATIONAL MODEL Object Relational model – it utilizes the relationship model as well as the object-oriented programming paradigm Attempts to bring together database and application programming
  • 10. RDBMS TERMINOLOGY Relational Database Management System • Data is a number/value found and stored in the database; static because it remains the same until it is modified by a process • Information is a data that has been processed to create a relevant and meaningful to the person; dynamic because it changes relative to the date stored in the database • Null is use to represent a value that is unknown or missing; a null value is either a zero nor blank • Table is a main structure in the relational database; it composed of attributes (fields) and domain (records)
  • 11. RDBMS TERMINOLOGY Relational Database Management System • File is an organized collection of data about entity • Record refers to a specific person, place, thing or event; it is also known as tuple • Field is the smallest structure of a data from a larger database structure in a relational database • View is also known as a virtual table; I does not hold its own rather it gets data from the table which it is based • Keys (primary key and foreign key) • Primary key is a field that uniquely identifies a record in the table • Foreign key is a field that establishes a relationship between two tables • Relationship exists when two or more tables have connection or association
  • 12. things we can do with RDBMS Information management Information analysis Print and share information Create a database Information storage Information retrieval
  • 13. 1. One-to-One relationship □Exists between tables when only one record of the first table is related to only one record to a second table, and only one record of the second table is related to only one record to the first table Place your screenshot here Types of Relationship
  • 14. Place your screenshot here 2. One-to-Many relationships □Exists between tables when one record of the first table can be related to one or more records to a second table, but only one record from the second table can be related to a single record in the first table □Most common relationship used to avoid or eliminate duplicate and redundant data
  • 15. Place your screenshot here 2.Many-to-one relationships □Exists between tables when more than one record of the first table can be related to one record to a second table, but only one record from the second table can be related to a single record in the first table
  • 16. Place your screenshot here 3. Many-to-Many relationship □Exists between tables when one record of the first table can be related to one or more records to a second table, and one or more records of the second table is related to one or more record s to the first table
  • 17. 1. Databases are used for: A. To entertain your friends B. To store infomation C. To create a presentation 2. Within a Database, infomation is stored in a: A. Record B. Cabinet C. Field 3. The software to create a database is: A. Google B. Microsoft Word C. Microsoft Access QUIZ 4. Within a Record there are multiple: A. Fields B. Cabinets C. Databases 5. A place where are Database is used are: A. Your House B. Restaurant C. Hospital

Editor's Notes

  1. Example: hr database Student database Address book
  2. -One school has one principal -a department has a manager -a customer has one address
  3. One teacher can teach many students One owner can own many cars Customers can make many orders. Orders can contain many items. Items can have descriptions in many languages.
  4. Employers works for one company
  5. Many Books can be issued by many students Many books can be written by many authors