Skip to content

RohanPatil01/SQL-Case-Studies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

📊 SQL Case Studies Repository

Welcome to the SQL Case Studies Repository! 🎉 This repository contains a collection of SQL case studies along with their data files, questions, and solutions.

Overview

🚀 This repository aims to provide practical exercises for learning SQL through real-world scenarios. Each case study presents a set of questions that require SQL queries to solve. Additionally, accompanying CSV data files are provided to facilitate data analysis and query execution.

📚 Case Studies

The repository includes the following case studies:

  1. Zomato Case Study:

    This case study, based on the Zomato dataset provided by CampusX, guides you through basic SQL topics like joins, grouping, sorting, and filtering. You'll solve 18 practical problems related to analyzing restaurant orders, customer behavior, and menu items. This case study is ideal for beginners looking to practice and improve their fundamental SQL skills.

🛠️ Usage Instructions

To use this repository:

  1. Clone or download the repository to your local machine.
  2. Set up a SQL environment (e.g., MySQL, PostgreSQL).
  3. Import the provided CSV data files into your SQL database.
  4. Open the questions.md file in each case study folder to view the SQL questions.
  5. Write SQL queries to solve the questions and execute them in your SQL environment.
  6. Check the answers.sql file for the solutions to compare with your queries.

🤝 Contribution Guidelines

Contributions to this repository are welcome! 🌟 If you'd like to contribute:

  • Fork the repository and create a new branch for your changes.
  • Add or improve case studies, questions, solutions, or documentation.
  • Submit a pull request with your changes, providing a clear description of the modifications.

📂 Folder Structure

Each case study folder contains the following files:

  • data*.csv: CSV files containing the data required for the case study. 📄
  • questions.md: Markdown file containing the SQL questions for the case study. ❓
  • answers.sql: SQL file containing the solutions to the questions. 💡

📜 License

This repository is licensed under the MIT License, which means you are free to use, modify, and distribute the content for any purpose.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published