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

PPTX
PPTX
Relational Database Design
PPTX
Database Design
PPT
Week 4 The Relational Data Model & The Entity Relationship Data Model
PDF
Database management system chapter1
PDF
Relational Database Management System
PPT
Rdbms
PPT
overview of database concept
Relational Database Design
Database Design
Week 4 The Relational Data Model & The Entity Relationship Data Model
Database management system chapter1
Relational Database Management System
Rdbms
overview of database concept

What's hot (20)

PPTX
Basic Concept of Database
PPTX
Relational Database Management System
PPT
Unit01 dbms
PPTX
Database Concepts and Components
PPT
Database Concept by Luke Lonergan
PPT
Mca ii-dbms- u-ii-the relational database model
DOC
Dbms Lecture Notes
PPT
PPTX
Introduction to databases
PPT
Unit 02 dbms
PPT
Database concepts
PPTX
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
DOCX
Mc0077 – advanced database systems
PPT
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
PPT
11 Database Concepts
PPT
Database system concepts
PPT
Dbms Lec Uog 02
PPTX
Introduction of DBMS
PPT
Chapter02
Basic Concept of Database
Relational Database Management System
Unit01 dbms
Database Concepts and Components
Database Concept by Luke Lonergan
Mca ii-dbms- u-ii-the relational database model
Dbms Lecture Notes
Introduction to databases
Unit 02 dbms
Database concepts
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Mc0077 – advanced database systems
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
11 Database Concepts
Database system concepts
Dbms Lec Uog 02
Introduction of DBMS
Chapter02
Ad

Viewers also liked (9)

PDF
Froscon2011: How i learned to use sql and then learned not to use it
DOC
PPTX
12 Ways to Use PLCs & SQL Databases Together
PPTX
Why You Should Use Oracle SQL Developer
PPTX
Rdbms
PDF
Sql Adv
PDF
Introduction to ETL and Data Integration
PPT
Data mining slides
 
Froscon2011: How i learned to use sql and then learned not to use it
12 Ways to Use PLCs & SQL Databases Together
Why You Should Use Oracle SQL Developer
Rdbms
Sql Adv
Introduction to ETL and Data Integration
Data mining slides
 
Ad

Similar to Relational database revised (20)

PPT
Info systems databases
PDF
Electronic Data Processing
PPTX
Fundamentals of DBMS
PPT
Week 1 Before the Advent of Database Systems & Fundamental Concepts
PPTX
Presentation and architecture FDBMS Unit-1.pptx
PPTX
Databases and its representation
PDF
Comprehensive Guide to Effective Introduction to Database Systems Principles
PPTX
DATABASE MANAGEMENT
PPTX
MADHU.pptx
PPTX
Module 1 - Chapter1.pptx
PPTX
System Analysis And Design
PPTX
Data Processing in Fundamentals of IT
PPT
Lecture01 257
PPTX
PDF
CBSE XII Database Concepts And MySQL Presentation
PPTX
Database part1-
PDF
PPT
27 fcs157al1 (1)
DOC
rdbms-notes
PPTX
Info systems databases
Electronic Data Processing
Fundamentals of DBMS
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Presentation and architecture FDBMS Unit-1.pptx
Databases and its representation
Comprehensive Guide to Effective Introduction to Database Systems Principles
DATABASE MANAGEMENT
MADHU.pptx
Module 1 - Chapter1.pptx
System Analysis And Design
Data Processing in Fundamentals of IT
Lecture01 257
CBSE XII Database Concepts And MySQL Presentation
Database part1-
27 fcs157al1 (1)
rdbms-notes

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Insiders guide to clinical Medicine.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Complications of Minimal Access Surgery at WLH
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Pre independence Education in Inndia.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
01-Introduction-to-Information-Management.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Insiders guide to clinical Medicine.pdf
Basic Mud Logging Guide for educational purpose
Complications of Minimal Access Surgery at WLH
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
102 student loan defaulters named and shamed – Is someone you know on the list?
Pre independence Education in Inndia.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Anesthesia in Laparoscopic Surgery in India
Final Presentation General Medicine 03-08-2024.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
TR - Agricultural Crops Production NC III.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Types and Its function , kingdom of life
01-Introduction-to-Information-Management.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx

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