
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
16 questions
Soh Cah Toa Review for sides
Presentation
•
9th - 12th Grade
17 questions
Biodiversity
Presentation
•
9th - 12th Grade
15 questions
Persia, Greece and Rome
Presentation
•
9th - 12th Grade
14 questions
4.1a Central Angles and Arcs
Presentation
•
9th - 12th Grade
18 questions
Introduction to Trig Ratios
Presentation
•
9th - 12th Grade
18 questions
Indefinite and Definite Articles Spanish
Presentation
•
9th - 12th Grade
17 questions
6.6 Law of Cosines
Presentation
•
9th - 12th Grade
15 questions
Identifying Verbs
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Early Computing
Quiz
•
7th - 12th Grade
20 questions
Module 1 Topic 1 Vocabulary
Quiz
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
14 questions
Introduction to Digital Citizenship
Quiz
•
9th Grade
39 questions
Safety Review
Quiz
•
9th - 12th Grade
20 questions
Digital Citizenship
Quiz
•
8th - 12th Grade
25 questions
OSHA and Lab Safety
Quiz
•
9th Grade
22 questions
Electronic Computing
Quiz
•
8th - 12th Grade