{"id":15003304,"url":"https://github.com/m7moudgadallah/sql-challenge-solutions","last_synced_at":"2026-03-11T19:02:15.075Z","repository":{"id":162820696,"uuid":"637311252","full_name":"m7moudGadallah/SQL-Challenge-Solutions","owner":"m7moudGadallah","description":"This repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.","archived":false,"fork":false,"pushed_at":"2023-08-28T22:03:58.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T14:21:55.495Z","etag":null,"topics":["challenge","database","hackerrank-solutions","leetcode-solutions","ms-sql-server","sql","tsql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m7moudGadallah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-07T06:45:47.000Z","updated_at":"2023-05-07T09:21:03.000Z","dependencies_parsed_at":"2024-09-28T14:41:14.158Z","dependency_job_id":null,"html_url":"https://github.com/m7moudGadallah/SQL-Challenge-Solutions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7moudGadallah%2FSQL-Challenge-Solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7moudGadallah%2FSQL-Challenge-Solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7moudGadallah%2FSQL-Challenge-Solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7moudGadallah%2FSQL-Challenge-Solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m7moudGadallah","download_url":"https://codeload.github.com/m7moudGadallah/SQL-Challenge-Solutions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243154725,"owners_count":20244983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["challenge","database","hackerrank-solutions","leetcode-solutions","ms-sql-server","sql","tsql"],"created_at":"2024-09-24T18:57:53.694Z","updated_at":"2026-03-11T19:02:10.046Z","avatar_url":"https://github.com/m7moudGadallah.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Challenge Solutions\r\n\r\nThis repository contains solutions to SQL challenges from various platforms like LeetCode, HackerRank, and more.\r\n\r\n## Getting Started\r\n\r\nTo 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.\r\n\r\n## Prerequisites\r\n\r\nTo 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.\r\n\r\n## Repository Structure\r\n\r\nThe 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:\r\n\r\n```text\r\nSQL-Challenge-Solutions/\r\n├── LeetCode/\r\n|   ├── README.md\r\n│   ├── solutions/\r\n|       ├──Challenge1.sql\r\n│       ├── Challenge2.sql\r\n│       └── ...\r\n├── HackerRank/\r\n|   ├── README.md\r\n│   ├── solutions/\r\n|       ├──Challenge1.sql\r\n│       ├── Challenge2.sql\r\n│       └── ...\r\n└── README.md\r\n```\r\n\r\n## Solutions\r\n\r\n- ***[leetcode](./LeetCode/)***\r\n- ***[HackerRank](./HackerRank/)***\r\n\r\n## Contributing\r\n\r\nIf you would like to contribute to this repository by adding your own solution to a SQL challenge, please follow these steps:\r\n\r\n1. Fork the repository\r\n2. Create a new branch\r\n3. Add your solution to the appropriate file\r\n4. Commit your changes\r\n5. Push your changes to your fork\r\n6. Create a pull request\r\n\r\n## Acknowledgments\r\n\r\nThank you to LeetCode, HackerRank, and other platforms for providing these SQL challenges.\r\n\r\n**[\u0026uarr;Top](#sql-challenge-solutions)**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7moudgadallah%2Fsql-challenge-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm7moudgadallah%2Fsql-challenge-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7moudgadallah%2Fsql-challenge-solutions/lists"}