This study notes covers SQL Commands within SQL for GCSE Computer Science. Revise SQL in Programming for GCSE Computer Science with 15 exam-style questions and 10 flashcards. This topic appears regularly enough that it should still be part of a steady revision cycle. It is section 4 of 8 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 4 of 8
Practice
15 questions
Recall
10 flashcards
SQL Commands
| Command | Purpose | Example |
|---|---|---|
| SELECT | Choose columns to display | SELECT name, age |
| FROM | Specify the table | FROM Students |
| WHERE | Filter rows by condition | WHERE age > 16 |
| ORDER BY | Sort results | ORDER BY name ASC |
| AND / OR | Multiple conditions | WHERE age > 16 AND city = "London" |
| * (wildcard) | Select all columns | SELECT * |