
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the relational database management system (rdbms) and the relational data model (rdm). The strengths of rdm, its history, and the basic concepts of rdm such as relations, tables, and their properties. It also covers the mathematical foundations of relations and their application to databases.
Typology: Slides
1 / 24
This page cannot be seen from the preview
Don't miss anything!

















Logical Database
Design
Two Major Strengths
Simplicity
Strong Mathematical Foundation
Relational Data Model
Presented by E. F. Codd in 1970, then of IBM
Before Relational Data Model, two older data models were in use; Hierarchical, Network
Basic of RDM
RDM used mainly for external, conceptual, and to some extent physical schema Separation of conceptual and physical levels makes manipulation much easier, contrary to previous data models
Basic of RDM
RDM used for external, conceptual, and to some extent physical schema The basic structure is relation Both entities and relationships are modeled using tables/relations
Basics of RDM
Columns represent attributes and rows represent records
Rows, records and tuples all these terms are used interchangeably
A table
stID stName clName doB sex S001 M. Suhail MCS 12/6/84 M S002 M. Shahid BCS 3/9/86 M S003 Naila S. MCS 7/8/85 F S004 Rubab A. MBA 23/4/86 F S005 Ehsan M. BBA 22/7/88 M
Mathematical Relations Consider two sets A = {x, y} B = {2, 4, 6} Cartesian product of these sets A X B= {(x,2), (x,4), (x,6), (y,2), (y,4), (y,6)}
Mathematical Relations
A relation is some subset of this Cartesian product, For example, R1= {(x,2), (y,2),(x,6),(x,4)} R2 = {(x,4), (y,6), (y,4)}
Database Relations
Name = {Ali, Sana, Ahmed, Sara} Age = {15,16,17,18,…….,25}
Database Relations
Cartesian product of Name & Age
Name X Age= {(Ali,15), (Sana,15), (Ahmed,15), (Sara,15), …., (Ahmed,25), (Sara,25)}
CLASS = {(Ali, 18), (Sana, 17), (Ali, 20), (Ahmed, 19)} Docsity.com