https://github.com/m7moudgadallah/sql-challenge-solutions
This repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.
https://github.com/m7moudgadallah/sql-challenge-solutions
challenge database hackerrank-solutions leetcode-solutions ms-sql-server sql tsql
Last synced: 4 months ago
JSON representation
This repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.
- Host: GitHub
- URL: https://github.com/m7moudgadallah/sql-challenge-solutions
- Owner: m7moudGadallah
- Created: 2023-05-07T06:45:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T22:03:58.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T14:21:55.495Z (over 1 year ago)
- Topics: challenge, database, hackerrank-solutions, leetcode-solutions, ms-sql-server, sql, tsql
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQL Challenge Solutions
This repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.
## Getting Started
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.
## Prerequisites
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.
## Repository Structure
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:
```text
SQL-Challenge-Solutions/
├── LeetCode/
| ├── README.md
│ ├── solutions/
| ├──Challenge1.sql
│ ├── Challenge2.sql
│ └── ...
├── HackerRank/
| ├── README.md
│ ├── solutions/
| ├──Challenge1.sql
│ ├── Challenge2.sql
│ └── ...
└── README.md
```
## Solutions
- ***[leetcode](./LeetCode/)***
- ***[HackerRank](./HackerRank/)***
## Contributing
If you would like to contribute to this repository by adding your own solution to a SQL challenge, please follow these steps:
1. Fork the repository
2. Create a new branch
3. Add your solution to the appropriate file
4. Commit your changes
5. Push your changes to your fork
6. Create a pull request
## Acknowledgments
Thank you to LeetCode, HackerRank, and other platforms for providing these SQL challenges.
**[↑Top](#sql-challenge-solutions)**