SQL

Computer ScienceOCRGCSEUnit: 3.7 Relational Databases and SQL
Free taster
5 of 6 sections open
The basics

Talking to Databases

Talking to Databases

SQL (Structured Query Language) is how we communicate with databases. Think of a database as a massive, organised filing cabinet. SQL is the language you use to ask questions: "Give me all customers from London" or "Show products under ยฃ50 sorted by price." SELECT retrieves data, FROM specifies the table, WHERE filters results. It's like Google for databases!

Now try it yourself

Quiz ยท Question 1 of 19

Which SQL keyword is used to choose which columns to retrieve from a database table?

Tap an answer to check it

Revise every Computer Science topic, free during alpha

SQL is one of 60 topics on PrepWise โ€” all aligned to your exam board.

Start revising free โ†’