SlideShare ist ein Scribd-Unternehmen logo
1 von 17
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

Weitere ähnliche Inhalte

Was ist angesagt?

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management SystemMian Abdul Raheem
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke LonerganLuke 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 modelRai University
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesBryan 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 systemsRabby 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 jagtapVikas Jagtap
 
Database system concepts
Database system conceptsDatabase system concepts
Database system conceptsKumar
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02smelltulip
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMSYouQue ™
 

Was ist angesagt? (20)

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by 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
 
RDBMS.
RDBMS.RDBMS.
RDBMS.
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Unit 02 dbms
Unit 02 dbmsUnit 02 dbms
Unit 02 dbms
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
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,...
 
Mc0077 – advanced database systems
Mc0077 – advanced database systemsMc0077 – advanced database systems
Mc0077 – advanced database systems
 
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
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Chapter02
Chapter02Chapter02
Chapter02
 

Andere mochten auch

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 itHenrik 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 TogetherInductive 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 DeveloperJeffrey Kemp
 
Rdbms
RdbmsRdbms
Rdbmsrdbms
 
Data mining slides
Data mining slidesData mining slides
Data mining slidessmj
 

Andere mochten auch (9)

Ch09
Ch09Ch09
Ch09
 
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
 
SQL
SQLSQL
SQL
 
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
 
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
 
Rdbms
RdbmsRdbms
Rdbms
 
Sql Adv
Sql AdvSql Adv
Sql Adv
 
Introduction to ETL and Data Integration
Introduction to ETL and Data IntegrationIntroduction to ETL and Data Integration
Introduction to ETL and Data Integration
 
Data mining slides
Data mining slidesData mining slides
Data mining slides
 

Ähnlich wie Relational database revised

Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1Sridhar Baithi
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfparveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information SystemNijaz 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 4Syed 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 Conceptsoudesign
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptxNishaTariq1
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1askme
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptxArshveerSinghDhillon
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented DatabaseEditor IJMTER
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1askme
 

Ähnlich wie Relational database revised (20)

Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1Database Modelling Concepts - Chapter 1
Database Modelling Concepts - Chapter 1
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
 
Dbms
DbmsDbms
Dbms
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
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
 
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
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptx
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented Database
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Data base
Data baseData base
Data base
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
 
Week 1
Week 1Week 1
Week 1
 
27 fcs157al1
27 fcs157al127 fcs157al1
27 fcs157al1
 

Kürzlich hochgeladen

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Kürzlich hochgeladen (20)

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

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