Skip to content

Course home

Structured query language (SQL)

Structured query language (SQL)

EasyMediumHard
1234567891011
Question 2

A list of all payloads of the 'Satellite' type is needed from the database.

Payload

PayloadIDNameTypeMassKG
PL-101Sentinel-6Satellite1192
PL-102Dragon-C201Cargo Capsule4200
PL-103Hubble-UpSatellite11110

Launch

LaunchIDPayloadIDLaunchVehicleIDLaunchDate
L-901PL-101LV-052020-11-21
L-902PL-102LV-092021-05-03

LaunchVehicle

| LaunchVehicleID | Model | Agency | | :--- | :--- | :--- | :--- | | LV-05 | Falcon 9 | SpaceX | | LV-09 | Falcon Heavy | SpaceX |

The following SQL query is run to produce the list:

A PayloadID, Name, MassKG FROM Payload WHERE B

Some parts of the SQL query have been replaced by labels A and B.

State the SQL statements or clauses that should have been written in place of the labels A and B.

[2]
Markscheme

Structured query language (SQL) Questions

  1. GCSE
  2. /Computer Science
  3. /Structured query language (SQL)

25 exam-style questions on AQA GCSE Computer Science Structured query language (SQL). Each one has a worked solution and a mark scheme showing where the marks go.

Question bank