Skip to content

divydayal0001-cloud/retail_sales_sql_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ Retail Sales SQL Analysis Project

πŸ“Œ Project Overview

This project focuses on analyzing a retail sales dataset using PostgreSQL to generate key business insights. The goal is to extract meaningful KPIs that help evaluate revenue performance, customer behavior, product trends, and discount impact.

πŸ“Š Dataset Columns

-Transaction ID

-Customer ID

-Category

-Item

-Price Per Unit

-Quantity

-Total Spent

-Payment Method

-Location

-Transaction Date

-Discount Applied

🎯 Key KPIs Analyzed

-Total Revenue

-Total Transactions

-Average Order Value (AOV)

-Total Unique Customers

-Revenue Per Customer

-Top 5 Selling Items

-Revenue by Payment Method

-Revenue by Location

-Monthly Revenue Trend

-Revenue Without Discount

πŸ›  Tools Used

-PostgreSQL

-SQL (Aggregate Functions, GROUP BY, DATE_TRUNC, Casting)

πŸ“ˆ Key Insights Extracted

-Identified top revenue-generating products

-Evaluated customer purchase behavior

-Analyzed impact of discounts on revenue

-Tracked monthly revenue trends

-Compared performance across payment methods and locations

πŸš€ Purpose of Project

This project demonstrates:

-Strong SQL fundamentals

-KPI-based business thinking

-Data aggregation and grouping skills

-Time-based analysis using SQL

πŸ“‚ How to Run

-Create the retail_sales table in PostgreSQL

-Import the CSV file using COPY / \COPY

-Execute the SQL queries provided in the project

About

Retail sales data analysis using PostgreSQL to generate key KPIs such as revenue, customer insights, product performance, and monthly trends.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors