Relational Model - PowerPoint PPT Presentation

About This Presentation
Title:

Relational Model

Description:

... aggregation and sorting Relational Model is the broad class of database models that have relations as the data structure, ... – PowerPoint PPT presentation

Number of Views:120
Avg rating:3.0/5.0
Slides: 19
Provided by: Adel114
Learn more at: https://home.adelphi.edu
Category:

less

Transcript and Presenter's Notes

Title: Relational Model


1
Relational Model
  • Credited to Juliana Freire

2
Why Use theRelational Database Model?
  • Extremely useful and simple
  • Single data-modeling concept relations 2-D
    tables
  • Allows clean yet powerful manipulation
    languages
  • Most widely used model
  • Vendors IBM, Informix, Microsoft, Oracle,
    Sybase,etc.
  • Recent competitors object-oriented model,
    semi-structured (XML) model
  • object-relational model Informix Universal
    Server, UniSQL, O2, Oracle, DB2
  • XML-enabled databases Oracle, DB2, SQLServer

3
History
  • Codds seminal paper no updates or constraints
  • Codds follow-up papers equivalent to algebra,
    introduced integrity constraints
  • Other extensions update operators, arithmetic
  • operators, aggregation and sorting
  • Relational Model is the broad class of database
  • models that have relations as the data structure,
    and
  • that incorporate query and update capabilities,
    and
  • integrity constraints

4
WHAT?
  • WHAT IS A RELATIONAL
  • DATABASE MODEL?

5
Example A Relation
6
(No Transcript)
7
The Structure
8
Relation Schema Example
9
Relation Schema the definition
10
Relation Instance An example
11
Relation Instance one more example
12
Rows Tuples
relation is a set, not a list!
13
Degree Cardinality
14
Relational Database Example
15
Database Example - problem
16
Database Example problem solved with foreign key
17
Specifying a Relational Schema
18
Another example different format
  • Teacher (Number, Name, Office, E-mail)
  • Course (Number, Name, Description)
  • Taught-By (Quarter, Course, Section, Teacher,
    TimeDays)
  • Student (Number, Name, Major, Advisor)
  • Completed (Student, Course, Quarter, Section,
    Grade)
  • What other foreign keys are present?
Write a Comment
User Comments (0)
About PowerShow.com