Swim challenge (Part 2)

In this lesson you will continue the work you started during Lesson 4 and will use your SQL skills to build, interrogate, and update a database to manage swimming lessons.

Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

  • Click "Close Video"
  • Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Swim Challenge Part 2

Use the following databases to answer the following 5 questions

Question 1

Question 2

Question 3

Question 4

Question 5

Q1.Which of the fields above would be most suitable to be the primary key? [1]

tblSpeeds

1/5

Q2.What would be the most appropriate data type for car_reg?

2/5

Q3.What type of query should be used to remove a record from a database?

3/5

Q4.What would be the output of the following query: SELECT Car_reg WHERE Registered_Owner = "Abeni Barmore";

4/5

Q5.What would be the output of the following query: SELECT CaptureID WHERE Speed > 70;

5/5

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Swim Challenge Part 2

Use the following databases to answer the following 5 questions

Question 1

Question 2

Question 3

Question 4

Question 5

Q1.Which of the fields above would be most suitable to be the primary key? [1]

tblSpeeds

1/5

Q2.What would be the most appropriate data type for car_reg?

2/5

Q3.What type of query should be used to remove a record from a database?

3/5

Q4.What would be the output of the following query: SELECT Car_reg WHERE Registered_Owner = "Abeni Barmore";

4/5

Q5.What would be the output of the following query: SELECT CaptureID WHERE Speed > 70;

5/5

Lesson summary: Swim challenge (Part 2)

It looks like you have not completed the quiz.

To share your results with your teacher please complete the quiz.

Time to move!

Did you know that exercise helps your concentration and ability to learn?

For 5 mins...

Move around:
Jog

On the spot:
Dance

Take part in The Big Ask.

The Children's Commissioner for England wants to know what matters to young people.

Share your views and have your voice heard.

This was the final lesson in the unit Databases and SQL.

Browse Oak's lessons: