SQL command: FROM - GCSE Computer Science Definition

Reviewed by: Robert Hampton

Published

In SQL, which is a language used to communicate with databases, the 'FROM' command is an important part of a query. When you want to get information from a database, you need to tell the computer where to look. The 'FROM' command is used to specify the table you want to retrieve data from. For example, if you have a database of students and you want to find out a student's name and grade, you would use the 'FROM' command to tell the computer to look in the table that contains the student information. It's like giving directions in a library to find the right book on a shelf.

Examiner-written GCSE Computer Science revision resources that improve your grades 2x

  • Written by expert teachers and examiners
  • Aligned to exam specifications
  • Everything you need to know, and nothing you don’t
GCSE Computer Science revision resources

Share this article

Robert Hampton

Reviewer: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

The examiner written revision resources that improve your grades 2x.

Join now