Programming fundamentals
53
0/3

A marine biology research station has a database that records telemetry data each time a marine animal's satellite tag transmits. The record format is given in the table below:

FieldnameDescription
LogDateThe date the telemetry reading was taken
TagIDThe unique ID of the transmitter tag
SpeciesThe species category – Shark, Whale, or Turtle
DepthThe depth in meters recorded by the tag

The telemetry log is stored in a database table called tag_telemetry. The current contents of tag_telemetry are shown:

LogDateTagIDSpeciesDepth
15/04/2024SK_102Shark85
15/04/2024WL_504Whale240
16/04/2024TT_081Turtle12
16/04/2024SK_102Shark115
17/04/2024WL_504Whale310
17/04/2024SK_201Shark195
18/04/2024TT_081Turtle45

Write an SQL statement to display the tag IDs of the shark species that have recorded a depth of more than 100 meters.

[3]

Programming fundamentals Questions

Practise OCR GCSE Computer Science Programming fundamentals with exam-style questions for GCSE Computer Science. 100 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 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

Programming fundamentals Questions

  1. GCSE
  2. /Computer Science
  3. /Programming fundamentals