SQL stands for Structured Query Language. it is used to allow database developers to interrogate the data held in a database. SQL is used to generate queries.

The examples in this guide are based on a database for a school that has three tables:

  • Pupil
  • Staff
  • Rooms

Below is a useful explanation of what SQL is a how it is used:

BBC's Simon Lumb explains what SQL is and how it is used in databases