Using SQL for Real-Life Decision Making: A Beginner's Analysis of E-Commerce Sales Data

This research explores how beginner data analysts can use SQL to generate actionable business insights in the e-commerce domain. Using a structured sample dataset of product sales, customer reviews, and geographic information, the study demonstrates SQL techniques such as aggregate functions, grouping, joins, and date-based analysis to evaluate performance across products, categories, seasons, and regions. Key analyses include identifying top-selling products, high-margin “hidden gold” items, slow-moving inventory, customer rating patterns, repeat purchase behavior, and geographic revenue distribution. A consolidated “CEO Dashboard” query illustrates how SQL can provide high-level business metrics in a single view. This study emphasizes SQL’s practical value as a decision-support tool that transforms raw transactional data into insights that inform inventory, marketing, and product strategies.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-02-17
DOI
https://doi.org/10.5281/zenodo.18670071
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using SQL for Real-Life Decision Making: A Beginner's Analysis of E-Commerce Sales Data

Peter Uwaechue
Zenodo (CERN European Organization for Nuclear Research)
Customer churn and segmentation
article

Using SQL for Real-Life Decision Making: A Beginner's Analysis of E-Commerce Sales Data

Peter Uwaechue
article en

Abstract

This research explores how beginner data analysts can use SQL to generate actionable business insights in the e-commerce domain. Using a structured sample dataset of product sales, customer reviews, and geographic information, the study demonstrates SQL techniques such as aggregate functions, grouping, joins, and date-based analysis to evaluate performance across products, categories, seasons, and regions. Key analyses include identifying top-selling products, high-margin “hidden gold” items, slow-moving inventory, customer rating patterns, repeat purchase behavior, and geographic revenue distribution. A consolidated “CEO Dashboard” query illustrates how SQL can provide high-level business metrics in a single view. This study emphasizes SQL’s practical value as a decision-support tool that transforms raw transactional data into insights that inform inventory, marketing, and product strategies.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Openalex Percentile: Top 59%
Customer churn and segmentation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.