Use of SQL to Search for Data (AQA GCSE Computer Science): Flashcards

📚Flashcards
Use of SQL to Search for Data
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

SQL acronym

Structured Query Language

SELECT keyword purpose

Chooses which fields/columns to show

FROM keyword purpose

Chooses which table to look in

WHERE keyword purpose

Filters results based on conditions

ORDER BY keyword purpose

Sorts results in a particular order

Mandatory SQL keywords

SELECT and FROM

Optional SQL keywords

WHERE and ORDER BY

Asterisk (*) wildcard in SQL

Selects all fields from a table

ASC in ORDER BY

Ascending order (A-Z, smallest to largest)

DESC in ORDER BY

Descending order (Z-A, largest to smallest)

Default ORDER BY sort

ASC (ascending)

Primary key definition

Unique identifier for each record in a table

Foreign key definition

References another table's primary key

Multi-table field format

TableName.FieldName

OR operator in SQL

Matches records that meet ANY of multiple conditions

Explore AQA GCSE Computer Science Revision Notes by Topics

Explore AQA GCSE Computer Science Model Answers by Topics

Explore AQA GCSE Computer Science Quizzes by Topics

Explore AQA GCSE Computer Science Exam Questions by Topics

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.