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
Ad

More Related Content

What's hot (20)

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
Mian Abdul Raheem
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
RIAH ENCARNACION
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
Luke Lonergan
 
Mca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database modelMca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database model
Rai University
 
RDBMS.
RDBMS.RDBMS.
RDBMS.
UniSoftCorner Pvt Ltd India.
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
dM Technologies
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
◄ vaquar khan ► ★✔
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
Bryan Corpuz
 
Unit 02 dbms
Unit 02 dbmsUnit 02 dbms
Unit 02 dbms
anuragmbst
 
Database concepts
Database conceptsDatabase concepts
Database concepts
Harry Potter
 
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,...
Dipen Parmar
 
Mc0077 – advanced database systems
Mc0077 – advanced database systemsMc0077 – advanced database systems
Mc0077 – advanced database systems
Rabby Bhatt
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
Kumar
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
YouQue ™
 
Chapter02
Chapter02Chapter02
Chapter02
sasa_eldoby
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
Mian Abdul Raheem
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
RIAH ENCARNACION
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
Luke Lonergan
 
Mca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database modelMca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database model
Rai University
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
Bryan Corpuz
 
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,...
Dipen Parmar
 
Mc0077 – advanced database systems
Mc0077 – advanced database systemsMc0077 – advanced database systems
Mc0077 – advanced database systems
Rabby Bhatt
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
Kumar
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
YouQue ™
 

Viewers also liked (9)

Ch09
Ch09Ch09
Ch09
S&amp;P Capital IQ
 
Froscon2011: How i learned to use sql and then learned not to use it
Froscon2011:  How i learned to use sql and then learned not to use itFroscon2011:  How i learned to use sql and then learned not to use it
Froscon2011: How i learned to use sql and then learned not to use it
Henrik Ingo
 
SQL
SQLSQL
SQL
Shunya Ram
 
12 Ways to Use PLCs & SQL Databases Together
12 Ways to Use PLCs & SQL Databases Together12 Ways to Use PLCs & SQL Databases Together
12 Ways to Use PLCs & SQL Databases Together
Inductive Automation
 
Why You Should Use Oracle SQL Developer
Why You Should Use Oracle SQL DeveloperWhy You Should Use Oracle SQL Developer
Why You Should Use Oracle SQL Developer
Jeffrey Kemp
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Sql Adv
Sql AdvSql Adv
Sql Adv
jothisekaran
 
Introduction to ETL and Data Integration
Introduction to ETL and Data IntegrationIntroduction to ETL and Data Integration
Introduction to ETL and Data Integration
CloverDX (formerly known as CloverETL)
 
Data mining slides
Data mining slidesData mining slides
Data mining slides
smj
 
Froscon2011: How i learned to use sql and then learned not to use it
Froscon2011:  How i learned to use sql and then learned not to use itFroscon2011:  How i learned to use sql and then learned not to use it
Froscon2011: How i learned to use sql and then learned not to use it
Henrik Ingo
 
12 Ways to Use PLCs & SQL Databases Together
12 Ways to Use PLCs & SQL Databases Together12 Ways to Use PLCs & SQL Databases Together
12 Ways to Use PLCs & SQL Databases Together
Inductive Automation
 
Why You Should Use Oracle SQL Developer
Why You Should Use Oracle SQL DeveloperWhy You Should Use Oracle SQL Developer
Why You Should Use Oracle SQL Developer
Jeffrey Kemp
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Data mining slides
Data mining slidesData mining slides
Data mining slides
smj
 
Ad

Similar to Relational database revised (20)

Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1
Sridhar Baithi
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMSDATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
MunawarAhmad22
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
Daniel Francisco Tamayo
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
Nijaz N
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
harissheraz12345
 
Dbms
DbmsDbms
Dbms
Surkhab Shelly
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
CHANDRA BHUSHAN
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
NishaTariq1
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
askme
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptx
ArshveerSinghDhillon
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented Database
Editor IJMTER
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
Vaibhav Kathuria
 
Data base
Data baseData base
Data base
Gc university faisalabad
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
askme
 
Week 1
Week 1Week 1
Week 1
kcmskist
 
Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1
Sridhar Baithi
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMSDATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
MunawarAhmad22
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
Nijaz N
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
NishaTariq1
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
askme
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptx
ArshveerSinghDhillon
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented Database
Editor IJMTER
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
askme
 
Ad

Recently uploaded (20)

TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
*"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"**"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"*
Arshad Shaikh
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
*"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"**"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"*
Arshad Shaikh
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 

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
  翻译: