Back to Present Data (Databases)

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Databases and SQL
For your topic:
Present Data (Databases) · Information and Communication Technology - 0417

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

1 lesson from Oak National Academy

Lesson 1 of 1 · GCSE level, ages 14 to 16

SQL searches

By the end: I can use SQL to retrieve data from a relational database.

Key learning points

  1. SQL stands for Structured Query Language. It is a language used to communicate with a database.
  2. You can use SQL to manipulate databases and retrieve records.
  3. An SQL SELECT statement allows you to retrieve data from a database.
  4. The SQL SELECT * statement allows you to return all the data and fields from a table.

Keywords

SELECT
allows you to retrieve data from a database
SELECT *
allows you to return all the columns from a database table

A common mistake

Mistake: Using SELECT * is always the best method for returning data from a database table.

In fact: You should only use the SELECT * query when all fields are needed. Including unnecessary data can be frustrating for the person viewing and working with the results.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What does the SQL SELECT statement do?
Which of these is the best practice when you only need a few fields from a table?
Which SQL statement is used to retrieve data from more than one table?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.