
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
17 questions
México
Presentation
•
9th - 12th Grade
15 questions
Globalization
Presentation
•
9th - 12th Grade
18 questions
Basic negation French
Presentation
•
9th - 12th Grade
19 questions
Python - Introduction to While Loops
Presentation
•
8th - 11th Grade
15 questions
7.3: Segments in Circles
Presentation
•
10th - 12th Grade
14 questions
03.04 Networking Protocols
Presentation
•
9th - 12th Grade
20 questions
Thesis Statements
Presentation
•
9th - 12th Grade
16 questions
The Theory of Evolution
Presentation
•
8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade