This topic covers the fundamental principles of relational databases, including entity-relationship modelling, normalisation to 3NF, and the use of primary
Topic Synopsis
This topic covers the fundamental principles of relational databases, including entity-relationship modelling, normalisation to 3NF, and the use of primary, foreign, and secondary keys. It also explores methods for data management, transaction processing (ACID properties), and the interpretation and modification of SQL queries.
Key Concepts & Core Principles
- Relational model: tables, tuples, attributes, primary keys, foreign keys, and relationships (one-to-one, one-to-many, many-to-many).
- Normalisation: 1NF (atomic values, no repeating groups), 2NF (no partial dependencies), 3NF (no transitive dependencies).
- SQL: Data Definition Language (CREATE, ALTER, DROP) and Data Manipulation Language (SELECT, INSERT, UPDATE, DELETE) with JOINs, GROUP BY, and subqueries.
- ACID properties: Atomicity (transactions are all-or-nothing), Consistency (database remains valid), Isolation (concurrent transactions don't interfere), Durability (committed changes persist).
- Entity-Relationship (ER) modelling: entities, attributes, relationships, and cardinality constraints.
Exam Tips & Revision Strategies
- Practice drawing entity-relationship diagrams using standard notation.
- Ensure you can explain the 'why' behind normalisation (e.g., reducing redundancy).
- Be prepared to write or correct SQL queries based on provided table schemas.
- Memorise the ACID acronym and be able to explain each component in the context of a database transaction.
- Use the provided SQL syntax guide in the specification to ensure your query structure is accurate.
Common Misconceptions & Mistakes to Avoid
- Confusing primary keys with foreign keys or secondary keys.
- Failing to correctly identify the functional dependencies required for 3NF.
- Misinterpreting the scope of SQL JOIN operations.
- Incorrectly applying ACID properties to non-transactional database scenarios.
- Overlooking the impact of record locking on system performance.
Examiner Marking Points
- Definition and purpose of relational databases, flat files, and keys (primary, foreign, secondary).
- Ability to construct and interpret entity-relationship diagrams.
- Application of normalisation rules up to 3rd Normal Form (3NF).
- Understanding of ACID properties (Atomicity, Consistency, Isolation, Durability) in transaction processing.
- Interpretation and modification of SQL statements (SELECT, FROM, WHERE, LIKE, AND, OR, DELETE, INSERT, DROP, JOIN).
- Understanding of record locking and data redundancy.