
Higher DDD - Aggregate Functions, GROUP BY
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
G Alexander-Doyle
Used 4+ times
FREE Resource
10 Slides • 6 Questions
1
2
We are learning how to implement SELECT FROM, UPDATE, DELETE FROM and INSERT INTO queries.
We are learning how to use aggregate functions to return a value from a row in a database entity.
We are learning how the GROUP BY clause to group records together in a set of query results.
We are learning how to implement sub-queries
Aims
3
I can design a SQL query making use of the AVG, SUM, COUNT, MIN and MAX aggregate functions.
I can design a SQL query making use of the GROUP BY clause to combine records as a summary.
Achievements (theory)
4
I can implement SELECT FROM, UPDATE, DELETE FROM and INSERT INTO queries.
I can implement a SQL query making use of the AVG, SUM, COUNT, MIN and MAX aggregate functions.
I can implement a SQL query making use of the GROUP BY clause to combine records as a summary.
I can implement sub-queries in a database.
Achievements (practical)
5
6
7
8
Multiple Choice
In the following database which aggregate function would you use to find the employee with the longest service?
AVERAGE
SUM
COUNT
MAX
MIN
9
Multiple Choice
In the following database which aggregate function would you use to calculate the total number of years served by all employees?
AVERAGE
SUM
COUNT
MAX
MIN
10
Multiple Choice
In the following database which aggregate function would you use to find the number of employees who work in building 1e?
AVERAGE
SUM
COUNT
MAX
MIN
11
Multiple Choice
In the following database which aggregate function would you use to find the employee with the shortest service?
AVERAGE
SUM
COUNT
MAX
MIN
12
Fill in the Blanks
Type answer...
13
14
Multiple Select
Which of the fields in this database could be used in a GROUP BY clause. Select all that apply.
employeeID
jobTitle
employeeName
building
yearsEmployed
15
16
Show answer
Auto Play
Slide 1 / 16
SLIDE
Similar Resources on Wayground
10 questions
G9 U9 L11 Raising Money for Charity
Presentation
•
9th Grade
13 questions
Speed, Velocity, Acceleration
Presentation
•
8th Grade
14 questions
Gr 8 AI
Presentation
•
8th Grade
15 questions
Revising
Presentation
•
10th Grade
15 questions
MATERI SOFTWARE APLIKASI
Presentation
•
10th Grade
14 questions
ChatGPT Quiz
Presentation
•
KG
12 questions
Ilmu Komputer
Presentation
•
9th Grade
16 questions
ALGORITMA
Presentation
•
9th 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