Skip to content
Brainlag

Theme

Colour

Brainlag Learn / GCSE Computer Science

Databases and SQL

Tables, records and fields, primary and foreign keys, why linked tables beat one big table, SQL queries over one or two tables, changing data with INSERT, UPDATE and DELETE, and reading and writing CSV files.

Lessons

  1. Relational databases and recordsTables, records and fields, data types, primary and foreign keys, why linked tables beat one big table, and how a program holds records in a 2D array. 25 min, free
  2. SQL queriesSELECT, FROM and WHERE, AND and OR, LIKE with wildcards, ORDER BY ASC and DESC, and queries that use two linked tables. 25 min, free
  3. Changing data and filesINSERT INTO, UPDATE and DELETE, then storing data in text and CSV files: open, read, write, append and close. 25 min, Plus

Practise and test