
N5 Computing Database Revision Part 2
Presentation
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Tracy Mutter
FREE Resource
5 Slides • 16 Questions
1
N5 Computing Science
DATABASE REVISION - PART 2
2
Countries Database
For this lesson we will look at a geographical database holding
information about cities and countries.
3
Multiple Choice
What is the primary / foreign key join between these tables?
Country.countryName = City.cityName
Country.countryCode = City.cityID
Country.countryCode = City.countryCode
Country.cityID = City.CityID
4
Data Dictionary
This is a plan for the data base and lists the tables, field names and their attributes.
5
Multiple Choice
What is missing in part (b)?
PK
FK
Text
4
Yes
6
Multiple Choice
What is missing in part (a)?
PK
FK
Text
4
Yes
7
Multiple Choice
What is missing in part (c)?
PK
FK
Text
4
Yes
8
Multiple Choice
What is missing in part (d)?
PK
FK
Text
4
Yes
9
Multiple Choice
What is missing in part (a)?
PF
FK
Text
Number
No
10
Multiple Choice
What is missing in part (b)?
PF
FK
Text
Number
No
11
Multiple Choice
What is missing in part (c)?
PF
FK
Text
Number
No
12
Multiple Choice
What is missing in part (d)?
PF
FK
Text
Number
No
13
Multiple Choice
What is missing in part (e)?
PF
FK
Text
Number
No
14
E-R diagram
Entity relationship diagrams are graphical representations of the link between the tables in a database.
They can be 1:1, 1:m or M:M
15
Draw
Draw the relationship that exists between City and Country
16
Dropdown
FROM
ORDER BY
17
Dropdown
Select
FROM
ORDER BY ;
18
Dropdown
their countries and their population for all countries with
FROM City , Country
WHERE
19
SQL Queries
Write an SQL query to produce a list of all
cities names and populations for cities
with a population greater than 2,152,423
(the population of Paris)
Copy your working query into
the message chat
https://www.db-fiddle.com/f/qYUKpr2Rdv
3LSLAETbZRnH/5
20
Dropdown
with a population greater than 2,152,423
(the population of Paris)
Select
FROM
WHERE
21
Dropdown
country they are in for all cities further north than Amsterdam
Select
FROM
WHERE
N5 Computing Science
DATABASE REVISION - PART 2
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
15 questions
Natural Selection
Presentation
•
9th - 12th Grade
18 questions
Impulse and Momentum
Presentation
•
9th - 12th Grade
18 questions
Right Triangle Trigonometry
Presentation
•
9th - 12th Grade
17 questions
Exponential: Evaluate Functions & Average Rate of Change
Presentation
•
9th - 12th Grade
19 questions
Biomes Intro
Presentation
•
9th - 12th Grade
15 questions
Sons of Liberty
Presentation
•
8th - 12th Grade
16 questions
Informational/Nonfiction Text Structures Practice
Presentation
•
9th - 12th Grade
17 questions
Similar Polygons
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade