Lecture 7 Relational Model
Lecture 7 Relational Model
1
8/24/2022
• Oracle, Microsoft, IBM. • 2 indicates a shift from hierarchical databases like Information
Management System (IMS) to relational databases.
• Oracle Corporation: Oracle
7 8
9 10
11 12
2
8/24/2022
13 14
CARDINALITY CARDINALITY
• In mathematics • In RDBMS
• Cardinality of a set is a measure of the "number of elements of the • Cardinality is the number of unique data values present in a particular
set". attribute(column) of a relation(table).
15 16
CANDIDATE KEY
• Any of the identified candidate keys can be used as the table's
primary key.
• Candidate keys that are not part of the primary key are called
PRIMARY KEY ALTERNATE KEYS alternate keys.
17 18
3
8/24/2022
19 20
REFERENCES REFERENCES
• http://en.wikipedia.org/wiki/Cardinality_%28SQL_statements%29 • http://www.smartdraw.com/resources/tutorials/cardinality-
• http://www.orafaq.com/wiki/Candidate_key notations/
• http://www.orafaq.com/wiki/Super_key
• http://sql-plsql.blogspot.in/2012/09/difference-primary-candidate-
key.html
23 24
4
8/24/2022
THANK YOU
For queries
Email: [email protected]
25