Dagmar Kusiak - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Dagmar Kusiak

Description:

... (First Normal Form) Non-relation. Types of Keys. Primary Keys/Candidate ... Candidate Keys Definition: many unique columns used to identify a database record ... – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 10
Provided by: dagmar3
Category:
Tags: dagmar | keys | kusiak

less

Transcript and Presenter's Notes

Title: Dagmar Kusiak


1
Chapter 2
  • Dagmar Kusiak

2
Chapter Objectives
  • Relational Database Terminology
  • Relations (tables)
  • Types of Keys
  • Skip pages 41-47

3
Relation
  • Relation (table)
  • Columns
  • Unique Column names
  • Primary Key (Email)
  • Rows
  • No identical rows (First Normal Form)

4
Non-relation
5
Types of Keys
  • Primary Keys/Candidate Keys
  • Composite Keys
  • Surrogate Keys
  • Foreign Keys and Referential Integrity

6
Primary Keys/Candidate Keys
Primary Key Definition Unique column Candidate
Keys Definition many unique columns used to
identify a database record
Advisor(advisorID, AdvisorName, Department,
Phone, Office)
7
Composite Keys
Definition key that contains two or more
columns. Candidate keys are composite. Composite
key City is not unique by itself so it contains
city, state, and zipcode.
8
Surrogate Keys
Definition Special Kind of Primary Key that is
NUMERIC.
Advisor(advisorID, AdvisorName, Department,
Phone, Office)
9
Foreign Keys and Referential Integrity
  • Talk about Next week
Write a Comment
User Comments (0)
About PowerShow.com