IT212- Lecture 2
IT212- Lecture 2
28/02/2025
Relational Databases
• First proposed by Dr. E.F. Codd of IBM Research in 1970
• Represent database as a collection of relations.
• Each relation looks like a table of values.
• Represent database as a collections of relations.
• Relational database matches data by using common characteristics
found within the data set.
Relational Databases Implementation
conceipts
• Implemented through Relational DBMS (RDBMS)
• RDBMS manage the complexity of physical implementation.
• Users see database as a collection of tables in which data are stored.
• Tables are also known as Relation.
• Tables contains Attributes.
• Attributes are a set of characteristics of the table.
• Tables are related to each other through some shared attributes.
• The relationship type is shown in Relational Schema.
Example of a Relational Database
Components of a Relation
• Entity
• Attribute/Column (Field)
• Domain
• Degree
• Record/Row (Tuple)
• Cardinality
Entity
• Things or object in real world with independent existence.
• An entity may be object with:
• physical existence : person, car, house, employed, etc.
• conceptual existence : job, course, event.
Attribute (Field)
Questions
Comments