| Lesson Plan |
| Grade: |
Date: 25/02/2026 |
| Subject: Information Communication Technology ICT |
| Lesson Topic: Be able to produce different output layouts including controlling the display of data, labels, tabular or columnar format |
Learning Objective/s:
- Describe how to use the
AS clause to assign meaningful column headings.
- Apply formatting functions (
UPPER, LOWER, ROUND, CONCAT) to control data presentation.
- Design and produce tabular and columnar output layouts for database query results.
- Construct concatenated label strings to create narrative‑style output.
- Use
GROUP BY with appropriate labels to present aggregated data clearly.
|
Materials Needed:
- Projector and screen
- Whiteboard and markers
- Student laptops with a SQL IDE (e.g., MySQL Workbench)
- Sample database files (students, staff, sales)
- Handout with example queries and function reference
- Worksheet for the practical exercise and answer key
|
Introduction:
Begin with a quick discussion on why clear data presentation matters in real‑world reports. Review students’ existing knowledge of basic SELECT statements and column naming. Explain that by the end of the lesson they will be able to format and layout query results for maximum readability.
|
Lesson Structure:
- Do‑Now (5') – short quiz on
SELECT syntax and the purpose of column labels.
- Mini‑lecture (10') – introduce output layouts, the
AS clause, and formatting functions.
- Guided demonstration (15') – live coding showing label changes,
UPPER/LOWER, ROUND, CONCAT, and GROUP BY with labeled aggregates.
- Paired activity (15') – students complete practical exercise items 1 & 2, creating labelled and concatenated output.
- Whole‑class share (10') – volunteers display their queries; discuss tabular vs. columnar choices.
- Independent task (10') – each student writes a query for total sales per region (exercise 3) using a tabular layout.
- Exit ticket (5') – write one tip for formatting database output that they found most useful.
|
Conclusion:
Recap the key techniques: using AS for headings, applying formatting functions, and selecting the appropriate layout (tabular, columnar, or concatenated). Collect exit tickets to gauge understanding. For homework, assign students to design a short report that combines a tabular summary with a narrative column using the skills learned.
|