AQA GCSE Computer Science - SQL and Relational Databases

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:20 PM on 4/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

47 Terms

1
New cards

What is a Database?

A structured way to store data so that it can be retrieved using queries.

2
New cards

What is a Table?

A collection of related data entries that consists of columns and rows.

3
New cards

What is a Record?

A single entry in a table, which contains data for each field.

4
New cards

What is a Field?

A specific piece of data within a record, defined by a field name.

5
New cards

What is a Primary key?

A field that stores unique data for each record in a table.

6
New cards

Describe the Integer datatype?

A whole number data type.

7
New cards

Describe the Real datatype?

A number data type with a decimal component.

8
New cards

Describe the Float datatype?

A number data type that can represent fractional values.

9
New cards

Describe the Decimal datatype?

A number data type with a fixed number of decimal places.

10
New cards

Describe the Date datatype?

A data type used to store dates.

11
New cards

Describe the Time datatype?

A data type used to store time.

12
New cards

Describe the DateTime datatype?

A data type used to store both date and time.

13
New cards

Describe the Char datatype?

A fixed length string data type, up to 8,000 characters.

14
New cards

Describe the Varchar datatype?

A variable length string data type, up to 8,000 characters.

15
New cards

Describe the Text datatype?

A variable length string data type, up to 2 GB of data.

16
New cards

What is a Flat file database?

A database that stores a single table of data inside a single text file.

17
New cards

What is Redundant data?

Data that is repeated in each record, leading to inconsistencies and increased storage use.

18
New cards

What is a Relational database?

Databases that solve issues of redundancy and data inconsistency found in flat file databases.

19
New cards

SQL

Structured Query Language

20
New cards

AND

A logical operator used to combine multiple conditions in a SQL query.

21
New cards

OR

A logical operator used to include records that meet at least one of multiple conditions in a SQL query.

22
New cards

LIKE

A SQL operator used to search for a specified pattern in a column.

23
New cards

SELECT

A SQL statement used to specify the fields to be displayed in a query.

24
New cards

FROM

A SQL statement used to specify the table name from which to retrieve data.

25
New cards

WHERE

A SQL clause used to specify the search criteria for records.

26
New cards

ORDER BY

A SQL clause used to sort the result set in ascending (ASC) or descending (DESC) order.

27
New cards

ASC

Specifies ascending order in an ORDER BY clause.

28
New cards

DESC

Specifies descending order in an ORDER BY clause.

29
New cards

wildcard

A character used in SQL queries, such as *, to represent all columns.

30
New cards

INSERT INTO

A SQL statement used to add new records to a table.

31
New cards

UPDATE... SET

A SQL statement used to modify existing records in a table.

32
New cards

DELETE FROM

A SQL statement used to remove records from a table.

33
New cards

WHERE clause

A clause in SQL that specifies conditions for filtering records.

34
New cards

Operators in the WHERE clause

Symbols used to compare values, including =, !=, >, <, >=, <=, AND, OR, NOT.

35
New cards

BETWEEN

An operator that specifies an inclusive range in SQL queries.

36
New cards

Wildcard %

A character in SQL that substitutes for zero, one, or more characters in a LIKE string.

37
New cards

ORDER BY keyword

A clause in SQL that sorts the result set in ascending or descending order.

38
New cards

UPDATE statement

An SQL command used to modify existing records in a table.

39
New cards

DELETE statement

An SQL command used to remove records from a table.

40
New cards

JOIN

A SQL operation that combines rows from two or more tables based on a related column.

41
New cards

SELECT *

A SQL command that selects all columns from a table.

42
New cards

SELECT * FROM Animal

An SQL command that selects all fields for all animals from the Animal table.

43
New cards

UPDATE Animals SET Height_m

An SQL command that modifies the height of a specific animal in the Animals table.

44
New cards

DELETE FROM Animals

An SQL command that removes a specific animal record from the Animals table.

45
New cards

WHERE Town = 'Ipswich'

A condition in an SQL query that filters results to only include members from Ipswich.

46
New cards

WHERE Breed = 'Labrador' AND Colour = 'Brown'

A condition in an SQL query that filters results to include only brown Labradors.

47
New cards

WHERE Owners.DogsID = Dogs.DogsID

A condition in an SQL query that links owners to their dogs based on a common identifier. Used as a JOIN.