Updating guides…
Relational database structure and basic SQL commands for GCSE Computer Science.
A database is an organised collection of structured data, typically stored in tables made up of records (rows) and fields (columns), designed to be searched and updated efficiently.
A relational database links multiple tables together using keys — a primary key uniquely identifies each record in a table, and a foreign key links to a primary key in another table to connect related data.
Splitting data across related tables (normalisation) reduces repeated data, which saves storage space and avoids inconsistencies that can happen when the same information is duplicated in many places.
SQL (Structured Query Language) is used to interact with databases: SELECT retrieves data, INSERT adds new records, UPDATE changes existing records, and DELETE removes records, often combined with a WHERE clause to target specific rows.