Professional Documents
Culture Documents
IT 108
Database Management System (DBMS)
• Data - the foundation of technological activity
DATA KNOWLEDGE
INFORMATION ACTION
School Management System
• Application program examples
Add new students, instructors, and courses
Register students for courses, and generate class
rosters
Assign grades to students, compute grade point
averages (GPA) and generate transcripts
Relational Model
Relational Model (RM) represents the database as a collection of
relations. A relation is a table of values.
4. Column: The column represents the set of values for a specific attribute.
Database Management Keys
Different Types of Keys in the Relational Model
1.Candidate Key
2.Primary Key
3.Super Key
4.Alternate Key
5.Foreign Key
6.Composite Key
Candidate Key
The minimal set of attributes that can uniquely identify a tuple is known as a
candidate key.
• It is a unique key.
• It can identify only one tuple (a record) at a time.
• It has no duplicate values, it has unique values.
• It cannot be NULL.
Super Key
• All the keys which are not primary keys are called
alternate keys.
• It is a secondary key.
• It
contains two or more fields to identify two or more
records.
• These values are repeated.
Foreign Key
• Physical level
• Logical level
• View level
Physical or Internal Level