πŸ› οΈ How SQL Stories Are Made

🎯 Purpose

This document explains how each SQL Story in this repo is created using a mix of synthetic data generation, structured business framing, and AI-assisted scenario design. The goal is to simulate realistic business questions and data challenges that strengthen SQL and analytical fluency.


🧬 Data Generation Strategy

All stories are powered by a dataset produced using the companion project:
➑️ ecom_sales_data_generator

That repo provides:

πŸ—‚οΈ This repository includes database.zip, which contains the pre-built SQLite databases. The output includes:

Inside that zip:


πŸ§ͺ Mess Injection (Realism Tuning)

The data generator supports configurable β€œmess” levels:

This messiness emulates POS systems or early-stage data warehouses where governance is still maturing.

The included database was configured with a medium mess injection.


πŸ€– AI's Role in Story Design

AI acts as a co-author and validator, helping shape business scenarios around each dataset. Contributions include:

AI helps keep every story grounded, engaging, and useful β€” from beginner tutorials to portfolio-grade projects.