Table of contents |
|
Introduction |
|
File System |
|
Database Management System |
|
Relational Data Model |
|
Keys in a Relational Database |
|
Specific limitations include
Difficulty in Access:
Data Redundancy:
Data Inconsistency:
Data Isolation:
Data Dependence:
Controlled Data Sharing:
Converting the school’s STUDENT and ATTENDANCE files into a database requires:
The resulting database, STUDENTATTENDANCE, includes three tables:
DBMS maintains a centralized data repository, accessible by multiple users (e.g., office staff, teachers) simultaneously.
Database Schema:
Data Constraint:
Meta-data or Data Dictionary:
Database Instance:
Query:
Data Manipulation:
Database Engine:
A data model defines the database structure, data representation, relationships, and constraints.
In the relational model:
Relations are interconnected, not independent:
Key terminologies:
Property 1 (Attributes):
Property 2 (Tuples):
Property 3 (State of Relation):
Tuples must be distinct; at least one attribute must have unique, non-NULL values to identify each tuple.
Candidate Key
Primary Key
Composite Primary Key
Foreign Key
1. What are the main limitations of a file system compared to a database management system? | ![]() |
2. What are the three important properties of a relation in a database? | ![]() |
3. What is a foreign key and why is it important in a database? | ![]() |
4. How do file systems handle data integrity compared to database systems? | ![]() |
5. Can you explain the significance of normalization in a relational database? | ![]() |