CUT TO:
INT. PROJECT ARCHIVE — STORYBOARD ROOM
The USER opens PostgreSQL Analytical Query Engine.
DIVAKAR DESSAI
CUT TO:
The USER opens PostgreSQL Analytical Query Engine.
DIVAKAR DESSAI
CASE FILE / COMP3311 / Database Systems
Developed SQL views and procedural PostgreSQL functions for analysing a relational dataset involving rugs, factories, materials and manufacturing locations.
01–02 / OPENING SEQUENCE
01 / Establishing Shot
A relational dataset needed to answer increasingly complex analytical questions spanning factories, products, materials, styles and locations.
02 / Wide Shot
The project progressed from declarative SQL queries into procedural database programming using PostgreSQL.
03 / CHARACTER NOTE
Subject
Divakar Dessai
Production
PostgreSQL Analytical Query Engine
Take
03 / Role
Role notes
DIVAKAR DESSAI
04 / CLOSE-UP
Later queries involved relationships that were difficult to express as simple single-table operations and required careful handling of aggregation, grouping and procedural logic.
05 / TRACKING SHOT
A plan emerges.
I combined joins and aggregate SQL queries with reusable views before moving more complex parameterised operations into PL/pgSQL functions.
06 / INSERT SHOTS
The system takes shape.
07 / DIRECTOR'S NOTES
Things we decided along the way
01
Used declarative SQL where the problem mapped naturally to relational operations.
02
Used procedural PL/pgSQL only where more complex control flow was useful.
03
Created reusable database-level abstractions instead of duplicating query logic.
design decisions
somewhere mid-build
08 / RETAKES
Naturally, not everything cooperates.
09 / FINAL SHOT
Developed increasingly complex relational queries.
Built reusable database-side analytical functions.
Gained practical experience treating PostgreSQL as a programmable data layer.
10 / PRODUCTION NOTES
The tools behind the scenes.
11 / BEHIND THE SCENES
FADE OUT.
USER closes the file.
One project down. A few more stories left.
DIVAKAR DESSAI