SlideShare a Scribd company logo
Database Operations
Flat-File and Relational
Database
Source: Chapter 7, Tomorrow’s Technology & You (8th ed) by G Beekman & M Quinn
Objectives
So the students will be able to –
 Identify and discuss database operations
 Understand and explain the various special
purpose databases
 Explain the difference between a flat-file and
relational database
 Explain the concept of one-to-one and one-
to-many relationships
Database Operations
 Imports data from other sources - from
word processors, spreadsheets, or other
databases
 Browsing records
 Database queries
Query – an information request; can be a
search for a specific record or all records
that match a set of criteria
Database Operations
 Sorting Data – allows you to arrange record
in alphabetic or numeric order based on
values in one or more fields
Print reports, labels, and form letters
Display reports on screen or on printouts
Database Operations
 Complex queries – can be done using SQL
(Structured Query Language)
SQL , a special query language featured in
most database program
Used to filter the records of a database,
capturing only those that meet the
specific criteria
Use common English language and
common logical operator OR and AND.
Database Operations
 Use handout on – The Language of
Database Queries
 Example of SQL statements:
Select Vehicle_ID, Vehicle_Type FROM
Rental_Vehicles WHERE Transport_Mode
= ‘Land’ AND Rental_Price < 20.00
Special-Purpose Database Programs (SPDPs)
 Preprogrammed for specific data storage &
retrieval purposes
 Users do not need to define file structures
or design forms because these were taken
care of by the software
Example of SPDPs
1. Directories –
 electronic phone
directory that pack
millions of names &
phone numbers onto
a single CD-ROM or
Web site
 Electronic street atlas
– uses information to
provide location
feedback for travelers
& mobile workers
from GPS feeds
Example of SPDPs
2. Geographic Information
Systems (GIS) – simple
mapping and tracking
programs that combines
tables of data from
various sources
 Displays geographic and
demographic data on maps
 Enable users to see data
relationships that might be
invisible in table form
Example of SPDPs
3.Personal Information
Managers – can
automate address /
phone books,
appointment calendars,
to-do list, miscellaneous
notes
Types of database programs
1. File managers – a program that enables
users to work with one file at a time.
 Example: FileMaker Pro
2. Database Management System (DBMS) - a
program that manipulate data in a large
collection of files (database), cross-
referencing between file as necessary
 Example: MS Access, Oracle
Type of Database structures
 Flat-file database – a database in which all records
are stored in one large table. For example, in a flat-file
customer order, a customer’s address, phone number,
& other important information will be entered over and
over again every time a customer placed an order.
 Characteristics of flat-file databases:
 It requires redundant data, which resulted into
files of large sizes.
 It is difficult to maintain because it requires a
large pool of human resources that equates to
more salaries, office space and equipment.
Example: Flat-file database
Type of Database structures
 Relational Database – a type of database which consists
of more than one file or table that are linked to each other
by a common data and in which changes in one file are
reflected automatically in other related files.
 The Relational Database Theory - solved the problem of
redundant data (in a flat-file format).
 Dr. E.F. Codd – introduced the relational database theory
in his published paper entitled “A Relational Model of
Data for Large Shared Data Banks” in 1970.
 He introduced a set of rules that eliminate the need to
store redundant data and formed the origin of relational
database theory.
Example
of a
Relational
database
Advantages of Relational databases
1. Eliminate redundant data
 reduces the number of times a data item is entered
therefore, minimizing data entry error.
 Each data item is stored only once, so if an error is made,
only one entry will be corrected.
Advantages of Relational databases
2. Reduce data inconsistencies
 Data consistency – means rules or procedures followed
in the entry and processing are one and the same for all
users
3. Protect data integrity
 Data integrity – concerned with the correctness of data;
data free from errors

More Related Content

What's hot (20)

PPTX
Basic Concept of Database
Marlon Jamera
 
PPTX
Relational Database Management System
Mian Abdul Raheem
 
PPT
Unit01 dbms
arnold 7490
 
PPTX
Database Concepts and Components
RIAH ENCARNACION
 
PPT
Database Concept by Luke Lonergan
Luke Lonergan
 
PPT
Mca ii-dbms- u-ii-the relational database model
Rai University
 
DOC
Dbms Lecture Notes
dM Technologies
 
PPT
RDBMS concepts
◄ vaquar khan ► ★✔
 
PPTX
Introduction to databases
Bryan Corpuz
 
PPT
Unit 02 dbms
anuragmbst
 
PPT
Database concepts
Harry Potter
 
PPTX
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Dipen Parmar
 
DOCX
Mc0077 – advanced database systems
Rabby Bhatt
 
PPT
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
PPT
11 Database Concepts
Praveen M Jigajinni
 
PPT
Database system concepts
Kumar
 
PPT
Dbms Lec Uog 02
smelltulip
 
PPTX
Introduction of DBMS
YouQue ™
 
PPT
Chapter02
sasa_eldoby
 
Basic Concept of Database
Marlon Jamera
 
Relational Database Management System
Mian Abdul Raheem
 
Unit01 dbms
arnold 7490
 
Database Concepts and Components
RIAH ENCARNACION
 
Database Concept by Luke Lonergan
Luke Lonergan
 
Mca ii-dbms- u-ii-the relational database model
Rai University
 
Dbms Lecture Notes
dM Technologies
 
Introduction to databases
Bryan Corpuz
 
Unit 02 dbms
anuragmbst
 
Database concepts
Harry Potter
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Dipen Parmar
 
Mc0077 – advanced database systems
Rabby Bhatt
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
11 Database Concepts
Praveen M Jigajinni
 
Database system concepts
Kumar
 
Dbms Lec Uog 02
smelltulip
 
Introduction of DBMS
YouQue ™
 
Chapter02
sasa_eldoby
 

Viewers also liked (9)

PDF
Froscon2011: How i learned to use sql and then learned not to use it
Henrik Ingo
 
DOC
SQL
Shunya Ram
 
PPTX
12 Ways to Use PLCs & SQL Databases Together
Inductive Automation
 
PPTX
Why You Should Use Oracle SQL Developer
Jeffrey Kemp
 
PPTX
Rdbms
rdbms
 
PDF
Sql Adv
jothisekaran
 
PDF
Introduction to ETL and Data Integration
CloverDX (formerly known as CloverETL)
 
PPT
Data mining slides
smj
 
Froscon2011: How i learned to use sql and then learned not to use it
Henrik Ingo
 
12 Ways to Use PLCs & SQL Databases Together
Inductive Automation
 
Why You Should Use Oracle SQL Developer
Jeffrey Kemp
 
Rdbms
rdbms
 
Sql Adv
jothisekaran
 
Introduction to ETL and Data Integration
CloverDX (formerly known as CloverETL)
 
Data mining slides
smj
 
Ad

Similar to Relational database revised (20)

PPT
Info systems databases
MR Z
 
PDF
Electronic Data Processing
Anjan Mahanta
 
PPTX
Fundamentals of DBMS
Ahmed478619
 
PPT
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
PPTX
Presentation and architecture FDBMS Unit-1.pptx
tanish782457
 
PPTX
Databases and its representation
Ruhull
 
PDF
Comprehensive Guide to Effective Introduction to Database Systems Principles
EliasZerabruk
 
PPTX
DATABASE MANAGEMENT
MiXvideos
 
PPTX
MADHU.pptx
SaiKanna14
 
PPTX
Module 1 - Chapter1.pptx
SoniaDevi15
 
PPTX
System Analysis And Design
Lijo Stalin
 
PPTX
Data Processing in Fundamentals of IT
SanthiNivas
 
PPT
Lecture01 257
hansamurli
 
PPTX
Databases
Sajitha Pathirana
 
PDF
CBSE XII Database Concepts And MySQL Presentation
Guru Ji
 
PPTX
Database part1-
Taymoor Nazmy
 
PDF
PHP/MySQL First Session Material
National IT Professionals Association of Afghanistan
 
PPT
27 fcs157al1 (1)
Harsh Bansal
 
DOC
rdbms-notes
Mohit Saini
 
PPTX
TAMUC LO 8
Dr. Christopher Jones
 
Info systems databases
MR Z
 
Electronic Data Processing
Anjan Mahanta
 
Fundamentals of DBMS
Ahmed478619
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
Presentation and architecture FDBMS Unit-1.pptx
tanish782457
 
Databases and its representation
Ruhull
 
Comprehensive Guide to Effective Introduction to Database Systems Principles
EliasZerabruk
 
DATABASE MANAGEMENT
MiXvideos
 
MADHU.pptx
SaiKanna14
 
Module 1 - Chapter1.pptx
SoniaDevi15
 
System Analysis And Design
Lijo Stalin
 
Data Processing in Fundamentals of IT
SanthiNivas
 
Lecture01 257
hansamurli
 
CBSE XII Database Concepts And MySQL Presentation
Guru Ji
 
Database part1-
Taymoor Nazmy
 
27 fcs157al1 (1)
Harsh Bansal
 
rdbms-notes
Mohit Saini
 
Ad

Recently uploaded (20)

PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
GRADE-3-PPT-EVE-2025-ENG-Q1-LESSON-1.pptx
EveOdrapngimapNarido
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
GRADE-3-PPT-EVE-2025-ENG-Q1-LESSON-1.pptx
EveOdrapngimapNarido
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
Horarios de distribución de agua en julio
pegazohn1978
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 

Relational database revised

  • 1. Database Operations Flat-File and Relational Database Source: Chapter 7, Tomorrow’s Technology & You (8th ed) by G Beekman & M Quinn
  • 2. Objectives So the students will be able to –  Identify and discuss database operations  Understand and explain the various special purpose databases  Explain the difference between a flat-file and relational database  Explain the concept of one-to-one and one- to-many relationships
  • 3. Database Operations  Imports data from other sources - from word processors, spreadsheets, or other databases  Browsing records  Database queries Query – an information request; can be a search for a specific record or all records that match a set of criteria
  • 4. Database Operations  Sorting Data – allows you to arrange record in alphabetic or numeric order based on values in one or more fields Print reports, labels, and form letters Display reports on screen or on printouts
  • 5. Database Operations  Complex queries – can be done using SQL (Structured Query Language) SQL , a special query language featured in most database program Used to filter the records of a database, capturing only those that meet the specific criteria Use common English language and common logical operator OR and AND.
  • 6. Database Operations  Use handout on – The Language of Database Queries  Example of SQL statements: Select Vehicle_ID, Vehicle_Type FROM Rental_Vehicles WHERE Transport_Mode = ‘Land’ AND Rental_Price < 20.00
  • 7. Special-Purpose Database Programs (SPDPs)  Preprogrammed for specific data storage & retrieval purposes  Users do not need to define file structures or design forms because these were taken care of by the software
  • 8. Example of SPDPs 1. Directories –  electronic phone directory that pack millions of names & phone numbers onto a single CD-ROM or Web site  Electronic street atlas – uses information to provide location feedback for travelers & mobile workers from GPS feeds
  • 9. Example of SPDPs 2. Geographic Information Systems (GIS) – simple mapping and tracking programs that combines tables of data from various sources  Displays geographic and demographic data on maps  Enable users to see data relationships that might be invisible in table form
  • 10. Example of SPDPs 3.Personal Information Managers – can automate address / phone books, appointment calendars, to-do list, miscellaneous notes
  • 11. Types of database programs 1. File managers – a program that enables users to work with one file at a time.  Example: FileMaker Pro 2. Database Management System (DBMS) - a program that manipulate data in a large collection of files (database), cross- referencing between file as necessary  Example: MS Access, Oracle
  • 12. Type of Database structures  Flat-file database – a database in which all records are stored in one large table. For example, in a flat-file customer order, a customer’s address, phone number, & other important information will be entered over and over again every time a customer placed an order.  Characteristics of flat-file databases:  It requires redundant data, which resulted into files of large sizes.  It is difficult to maintain because it requires a large pool of human resources that equates to more salaries, office space and equipment.
  • 14. Type of Database structures  Relational Database – a type of database which consists of more than one file or table that are linked to each other by a common data and in which changes in one file are reflected automatically in other related files.  The Relational Database Theory - solved the problem of redundant data (in a flat-file format).  Dr. E.F. Codd – introduced the relational database theory in his published paper entitled “A Relational Model of Data for Large Shared Data Banks” in 1970.  He introduced a set of rules that eliminate the need to store redundant data and formed the origin of relational database theory.
  • 16. Advantages of Relational databases 1. Eliminate redundant data  reduces the number of times a data item is entered therefore, minimizing data entry error.  Each data item is stored only once, so if an error is made, only one entry will be corrected.
  • 17. Advantages of Relational databases 2. Reduce data inconsistencies  Data consistency – means rules or procedures followed in the entry and processing are one and the same for all users 3. Protect data integrity  Data integrity – concerned with the correctness of data; data free from errors