This repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.
To access the solutions, simply clone or download the repository to your local machine. Each challenge solution is in a separate file with a descriptive name that matches the challenge.
To run the solutions, you will try it on website like LeetCode and HackerRank OR you will need a SQL database management system installed on your machine. You can use any popular database system like MySQL, PostgreSQL, or SQLite.
The repository is organized into separate folders for each platform, with each challenge located in a separate file within the folder. Here is an overview of the repository structure:
SQL-Challenge-Solutions/
├── LeetCode/
| ├── README.md
│ ├── solutions/
| ├──Challenge1.sql
│ ├── Challenge2.sql
│ └── ...
├── HackerRank/
| ├── README.md
│ ├── solutions/
| ├──Challenge1.sql
│ ├── Challenge2.sql
│ └── ...
└── README.md
If you would like to contribute to this repository by adding your own solution to a SQL challenge, please follow these steps:
- Fork the repository
- Create a new branch
- Add your solution to the appropriate file
- Commit your changes
- Push your changes to your fork
- Create a pull request
Thank you to LeetCode, HackerRank, and other platforms for providing these SQL challenges.