Topic 3.3 Flashcards
Who and when was the Relational Model proposed?
It was proposed by E. F. Codd in his seminal paper “A Relational Model of Data for Large Shared Data Banks” in 1970
It is a table with columns and
rows.
Relation
It is a named column of a
relation.
Attribute
It is the set of allowable values
for one or more attributes.
Domain
It is a row of a relation
Tuple
It is the number of
attributes a relation contains.
Degree
It is the number of tuples a relation contains.
Cardinality
A collection of normalized
relations with distinct relation names.
Relational Database
Two types of Database Relation:
- Relation Schema
- Relational Database Schema
A named relation defined by a set of attribute and domain name pairs.
Relation Schema
A set of relation schemas, each with a distinct name.
Relational Database Schema
Types of Relational Keys(4):
- Superkey
- Candidate key
- Primary key
- Foreign key
Types of Integrity Constraints(4):
- Null
- Entity Integrity
- Referential Integrity
- General Constraints
A relation that does not
necessarily exist in its own right, but may be dynamically derived from one or more base relations.
View
A named relation corresponding to an entity in the conceptual schema, whose tuples are physically stored in the database.
Base Relation