This topic introduces the fundamental concepts of relational databases, focusing on how data is structured and managed. Students learn to identify key comp
Topic Synopsis
This topic introduces the fundamental concepts of relational databases, focusing on how data is structured and managed. Students learn to identify key components such as tables, records, fields, and keys, and understand how relational structures help eliminate data inconsistency and redundancy.
Key Concepts & Core Principles
- Primary key: a unique identifier for each record in a table (e.g., StudentID).
- Foreign key: a field in one table that links to the primary key of another table, creating relationships.
- Normalisation: organising data to reduce redundancy (e.g., splitting a table into two to avoid repeating data).
- SQL SELECT statement: used to retrieve data; can include WHERE (filter), ORDER BY (sort), and JOIN (combine tables).
- Data types: choosing appropriate types (e.g., INTEGER, VARCHAR, DATE) ensures data integrity and efficient storage.
Exam Tips & Revision Strategies
- Ensure you can clearly define the difference between a primary key and a foreign key.
- Be prepared to explain why relational databases are preferred over flat-file databases in terms of data integrity.
- Remember that the terms table, record, and field are used for both abstract models and actual implementations.
Common Misconceptions & Mistakes to Avoid
- Confusing the terms entity and attribute with table and field
- Failing to explain the purpose of a foreign key in linking tables
- Misunderstanding the difference between data inconsistency and data redundancy
Examiner Marking Points
- Definition of a database
- Definition of a relational database
- Identification of table, record, field, and data type
- Explanation of primary key and foreign key
- Understanding the role of relational databases in reducing data inconsistency and redundancy