Save
IM LEC QUIZ ADVANCED DATA MODELLING
Relational Model
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Sophia Villamor
Visit profile
Cards (15)
Components of Relational Model:
Data Structure
Data Manipulation
Data Integrity
Data Structure is composed of tables (relations), rows, and columns
Data Manipulation
is a powerful SQL operation for retrieving and modifying data
Data Integrity
is a mechanism for implementing business rules that maintain integrity of the manipulated data.
Relation
is a named, two dimensional table of data.
True or False?
All relations are in 1st Normal Form -
True
Requirements for a table to qualify as relation: (6)
It must have a unique name
Every attribute value must be atomic (not multivalued, not composite)
Every row must be unique (Cannot have 2 or more rows with the same values)
Attributes in tables must have unique names
The order of columns are irrelevant
The order of rows are irrelevant
Relation
corresponds with entity types and with many to many relationship
Key Fields
are special fields that serve two main purpose
Primary Keys
are unique identifiers of a relation. They guarantee that all rows are unique.
Foreign Keys
are identifiers that enable dependent relation to refer to its parent relation
Integrity Constraints:
Domain
Constraints
Entity
Integrity
Referential
Integrity
Domain constrains
are the allowable values for the attributes
Entity Integrity
states that no primary key may be null
Referential Integrity
states that any foreign key value must match a primary key value in the relation of one side.