A3.3 Database programmingA3.3.4
Calculations using SQL aggregate functions
Construct calculations within a database using SQL's aggregate functions
AHL≈ 55 minCommand term: ConstructPremium
In this lesson
- Using AVG, COUNT, MAX, MIN and SUM on a whole table or on the rows WHERE selects
- Calculating one result per group with GROUP BY, and filtering groups with HAVING
- Combining aggregates with joins to produce reports that support decisions
This lesson is part of Premium
Every topic has one free lesson. Premium unlocks every interactive lesson, the exam-style questions at the end of each one, and the rest of Praxis IB.
What's inside
- LearnAggregate functions
- LearnAggregates on grouped data
- CheckQuick check
- LabReport on the print shop
- ExamWorked exam answer
- ReviewMistakes examiners see
- Exam practiceExam-style questions
Ends with 5 exam-style questions worth 14 marks, with a self-marking markscheme.