Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jillie-wink/sql-portfolio

SQL Data Analysis Projects
https://github.com/jillie-wink/sql-portfolio

data-analysis data-manipulation portfolio sql sqlite

Last synced: about 1 month ago
JSON representation

SQL Data Analysis Projects

Awesome Lists containing this project

README

        

SQL Portfolio


Thank you for taking the time to look at my SQL portfolio!


This project uses the "Classic Model Cars" dataset created by DataQuest.io for training purposes.
Attached is the SQL file I created to analyze product and customer data.



Skills:



  • Aggregate Functions

  • Common Table Expression (CTE)

  • Table Joins

  • Scalar Subqueries

  • Nested and Correlated Subqueries



Product Analysis



  1. Which products should we order more of or less of?

  2. What are our top 10 overstocked products?

  3. What are our top 10 understocked products?

  4. What is the product performance of each of our products?

  5. What are our top 10 performing products?

  6. Which 10 products should we prioritize restocking?



Customer Analysis



  1. What are our profits per customer?

  2. What is the mailing information for our top 5 customers?

  3. What is the average lifetime value (LTV) of a customer?



Data Visualization


Q3: What are our top 10 understocked products?

| **Product Code** | **Product Name** | **Relative Demand** |
|---|---|---|
| S24_2000 | 1960 BSA Gold Star DBD34 | 67.67 |
| S12_1099 | 1968 Ford Mustang | 13.72 |
| S32_4289 | 1928 Ford Phaeton Deluxe | 7.15 |
| S32_1374 | 1997 BMW F650 ST | 5.7 |
| S72_3212 | Pont Yacht | 2.31 |
| S700_3167 | F/A 18 Hornet 1/72 | 1.9 |
| S50_4713 | 2002 Yamaha YZR M1 | 1.65 |
| S18_2795 | 1928 Mercedes-Benz SSK | 1.61 |
| S18_2248 | 1911 Ford Town Car | 1.54 |
| S700_1938 | The Mayflower | 1.22 |
| S32_3522 | 1996 Peterbilt 379 Stake Bed with Outrigger | 1.21 |