Skip to content

SonalShukla-projects/Task-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Task-4

πŸ“¦ E-Commerce Shipment Analysis (MySQL Project)

πŸ” Project Summary

This project explores an e-commerce shipment dataset to extract insights about product shipments, delivery performance, and customer interactions using MySQL. It demonstrates SQL fundamentals such as data filtering, aggregation, subqueries, views, and optimization techniques.


🧰 Tools & Technologies

  • Database: MySQL
  • Interface: MySQL Workbench or Command Line
  • Data Source: UK-based e-commerce CSV dataset (2010–2011)

πŸ—οΈ Database & Table Structure

  • Database Name: Databasetask
  • Table Name: Tableofdatabase
  • Key Columns:
    • ID, Warehouse_block, Mode_of_Shipment, Customer_care_calls,
    • Customer_rating, Cost_of_the_Product, Prior_purchases,
    • Product_importance, Gender, Discount_offered,
    • Weight_in_gms, Reached_on_Time_Y_N

πŸ“Š Analysis Highlights

  • βœ… Total shipments & sample records
  • πŸ“¦ Delivery performance: On-time vs delayed shipments
  • 🚚 Shipment cost analysis by mode of transport
  • 🏒 Revenue breakdown by warehouse (after discount)
  • ⚠️ Delay analysis by product importance
  • πŸ’° Top 5 expensive delayed shipments
  • πŸ“ˆ Above-average cost products using subqueries
  • πŸ” Reusable view for high-value delayed shipments

βš™οΈ Optimization

  • πŸ—‚οΈ Indexes on Warehouse_block and Reached_on_Time_Y_N
  • πŸ‘οΈ Views to simplify analysis
  • πŸ“‹ EXPLAIN used to inspect query performance

βœ… Outcome

This project demonstrates core SQL skills:

  • Table creation and CSV data import
  • Filtering and grouping data with WHERE, GROUP BY, ORDER BY
  • Performing subqueries and calculations (AVG, SUM)
  • Creating reusable views and optimizing performance with indexes

A great example of applying SQL to analyze real-world structured data effectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published