
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
Database Manipulation
Presentation
•
8th - 10th Grade
10 questions
Operating System
Presentation
•
10th Grade
12 questions
PRESENT CONTINUOS
Presentation
•
9th Grade
11 questions
4.6 - Formalizing Relations and Functions
Presentation
•
9th Grade
9 questions
Key Features of Quadratic Functions
Presentation
•
9th Grade
8 questions
Jaringan Komputer
Presentation
•
10th Grade
12 questions
Review: Key Features of Quadratic Functions
Presentation
•
9th Grade
13 questions
Database
Presentation
•
10th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Insurance
Quiz
•
9th - 12th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
20 questions
Summer Geometry QUIZ (Week 2)
Quiz
•
9th Grade
6 questions
Mayan Mathematics part 1
Presentation
•
9th - 12th Grade
25 questions
Biology Regents Review
Quiz
•
9th Grade
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
10 questions
Unit 9 Quiz
Quiz
•
9th - 12th Grade
60 questions
Biology Regents Review
Quiz
•
9th Grade