Welcome to my 8-Week SQL Challenge Repository! π―
This repository contains SQL solutions and story points for various real-world case studies aimed at improving SQL proficiency.
This challenge is designed to test and enhance SQL skills through real-life business scenarios. Each week focuses on a different dataset with unique business problems and SQL queries to extract insights.
The repository is organized as follows:
Each week folder contains:
Case_Study.md
β Describes the business case and insights gained..sql
files β Contains SQL queries used to solve the case study.ER_Digram.png
files β Table relation diagram of the case study.
- Analyze customer spending behavior for a restaurant.
- SQL skills:
JOIN
,CASE
,AGGREGATIONS
,WINDOW FUNCTIONS
.
- Track pizza delivery operations & identify inefficiencies.
- SQL skills:
STRING FUNCTIONS
,CTE
,TEMP TABLES
.
- Subscription-based business revenue analysis.
- SQL skills:
DATE FUNCTIONS
,SUBQUERIES
,RANK()
.
- Financial transactions & fraud detection.
- SQL skills:
SELF-JOINS
,PARTITION BY
,GROUP BY
.
- .
- SQL skills: .
- Clone this repository:
git clone https://github.com/yourusername/8-Week-SQL-Challenge.git
- Open the .sql files in any SQL database (PostgreSQL, MySQL, SQL Server).
- Run the queries and analyze the results.
- PostgreSQL or MySQL installed
- SQL knowledge (Beginner to Intermediate level)
- Any SQL query tool (DBeaver, pgAdmin, MySQL Workbench)