
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
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
13 questions
Spanish Double Object Pronouns
Presentation
•
9th - 12th Grade
14 questions
Ch.13 Entrepreneurship
Presentation
•
9th - 12th Grade
20 questions
Recap: Solving Quadratic Equations-All Methods
Presentation
•
9th - 12th Grade
13 questions
Imperialism
Presentation
•
9th - 12th Grade
19 questions
Swine Breeds
Presentation
•
9th - 12th Grade
18 questions
Ecology 4.02 Community Characteristics
Presentation
•
9th - 12th Grade
16 questions
La colonisation au XIXe siècle (4e)
Presentation
•
KG - 12th Grade
19 questions
Angles of Circles
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade