In CSC2230 Big Data Management and Analytics, I analysed the Instacart Online Grocery Shopping Dataset using SQL in DuckDB 1.5.4—working across 3,421,083 orders from 206,209 customers and 33,819,106 product-level purchase records.
Uncovering Operational Patterns with SQL
Linking orders, products, aisles, and departments through relational SQL queries showed how structured aggregation turns millions of raw rows into practical operational insight. Fresh produce dominated demand, with the produce department accounting for 29.24% of all item purchases and Banana leading as the most purchased product. Time-based analysis revealed clear ordering peaks on Day 0 and Day 1 and between 10:00 and 16:59 (57.39% of orders), helping inform inventory safety stock and workforce scheduling.
Data Ethics Beyond De-Identification
One of the most important reflections from this project involved data privacy. Although the dataset replaced customer names with numeric identifiers, detailed multi-order histories over time still represent sensitive behavioural data. Working through the ethical implications reinforced why analytics workflows must still enforce access controls, encryption, data minimisation, retention limits, and aggregated reporting.
Connecting Analytics to Career Goals
Handling multi-million-row datasets in DuckDB sharpened my SQL precision and taught me to pair technical analysis with clear executive summaries and privacy-aware engineering.