Skip to content

Admohan12/PIzza-sales-project.-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🍕 Pizza Sales Analysis (PostgreSQL)

This SQL project analyzes pizza sales data by category and calculates each category’s contribution to total revenue. The query filters records for January orders and summarizes total sales and their percentage share.

Key Highlights:

Extracts the month from order_date using EXTRACT(MONTH FROM order_date).

Aggregates sales with SUM(total_price).

Calculates category-wise sales percentage of total revenue.

Uses ROUND(..., 2) for a clean, two-decimal percentage output.

Output Columns:

pizza_category → Type of pizza (e.g., Classic, Supreme, Veggie).

total_sales → Total sales amount for the category.

percentage → Category’s revenue share in total sales (%).

Tech Stack: PostgreSQL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published