2Easy
0/2

An astrophysicist wants to retrieve a list of all exoplanets from the database that were discovered using the 'Transit' method.

Exoplanet

PlanetIDNameMethodYearDiscovered
EP-402Kepler-186fTransit2014
EP-403Proxima bRadial Velocity2016
EP-404OsirisTransit1999

Observation

ObsIDPlanetIDObservatoryID
9001EP-40277
9002EP-40378

Observatory

ObservatoryIDFacilityNameLocation
77Kepler Space TelescopeEarth Orbit
78La Silla ObservatoryChile

The following SQL query is run to produce the list:

A Name, Method, YearDiscovered FROM Exoplanet 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]

Structured query language (SQL) Questions

Practise AQA GCSE Computer Science Structured query language (SQL) with exam-style questions for GCSE Computer Science. 25 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Structured query language (SQL) Questions

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