{"id":31845916,"url":"https://github.com/aboubakr-jelloulat/sql-hackerrank","last_synced_at":"2026-02-18T05:33:12.978Z","repository":{"id":315420416,"uuid":"1059409262","full_name":"aboubakr-jelloulat/sql-hackerrank","owner":"aboubakr-jelloulat","description":" comprehensive collection of SQL solutions and explanations for HackerRank problems, organized by difficulty and topic to help developers master database querying skills","archived":false,"fork":false,"pushed_at":"2025-10-08T13:55:59.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-12T08:44:34.843Z","etag":null,"topics":["hackerrank","sql","sql-problems","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"TSQL","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/aboubakr-jelloulat.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T12:06:20.000Z","updated_at":"2025-10-08T13:56:02.000Z","dependencies_parsed_at":"2025-10-12T08:44:31.102Z","dependency_job_id":"d1d7e3e3-0686-40a2-9674-fe5a02160835","html_url":"https://github.com/aboubakr-jelloulat/sql-hackerrank","commit_stats":null,"previous_names":["aboubakr-jelloulat/sql-hackerrank"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aboubakr-jelloulat/sql-hackerrank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboubakr-jelloulat%2Fsql-hackerrank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboubakr-jelloulat%2Fsql-hackerrank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboubakr-jelloulat%2Fsql-hackerrank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboubakr-jelloulat%2Fsql-hackerrank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboubakr-jelloulat","download_url":"https://codeload.github.com/aboubakr-jelloulat/sql-hackerrank/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboubakr-jelloulat%2Fsql-hackerrank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29569856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T04:18:28.490Z","status":"ssl_error","status_checked_at":"2026-02-18T04:13:49.018Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hackerrank","sql","sql-problems","sqlserver"],"created_at":"2025-10-12T08:43:59.182Z","updated_at":"2026-02-18T05:33:07.966Z","avatar_url":"https://github.com/aboubakr-jelloulat.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL HackerRank Practice\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/microsoftsqlserver/microsoftsqlserver-plain-wordmark.svg\" alt=\"SQL Server Logo\" width=\"200\"/\u003e\n  \n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://media.giphy.com/media/13HgwGsXF0aiGY/giphy.gif\" alt=\"Coding GIF\" width=\"400\"/\u003e\n\u003c/div\u003e\n\nA comprehensive collection of SQL solutions and explanations for HackerRank problems, organized by difficulty and topic to help developers master database querying skills.\n\n## About\n\nThis repository contains solutions to SQL problems from HackerRank, designed to help developers improve their database querying skills. Each solution includes detailed explanations, multiple approaches where applicable, and best practices for writing efficient SQL queries.\n\nWhether you're preparing for technical interviews, improving your database skills, or simply looking to master SQL fundamentals, this repository provides structured practice with real-world problem-solving scenarios.\n\n## Getting Started\n\n### Prerequisites\n\n- Basic understanding of SQL syntax and database concepts\n- Access to a SQL database system (MySQL, PostgreSQL, SQLite, SQL Server, etc.)\n- Text editor or SQL IDE (MySQL Workbench, pgAdmin, DBeaver, VS Code)\n- Git installed on your local machine\n- A HackerRank account for accessing original problem statements\n\n### Setup Instructions\n\n1. Clone the repository:\n```bash\ngit clone \u003curl\u003e\ncd  repo \n```\n\n2. Choose your preferred SQL environment and set up a practice database\n\n3. Navigate to any problem directory to view solutions and explanations\n\n4. Test solutions using your preferred SQL environment\n\n## Problem Categories\n\n### Basic Select\nFundamental SELECT operations, filtering, and data retrieval\n- Revising the SELECT Query\n- Select All\n- Select By ID\n- Japanese Cities Attributes\n- Weather Observation Station series\n\n### Advanced Select\nComplex conditional logic and data transformation\n- Type of Triangle\n- The PADS\n- Occupations\n- Binary Tree Nodes\n- New Companies\n\n### Aggregation\nGROUP BY operations and aggregate functions\n- Revising Aggregations\n- The Count Function\n- The Sum Function\n- Averages\n- Population Census\n- Population Density Difference\n\n### Basic Join\nTable relationships and JOIN operations\n- Population Census\n- Asian Population\n- African Cities\n- Average Population of Each Continent\n- The Report\n- Top Competitors\n\n### Advanced Join\nComplex multi-table operations and advanced JOIN techniques\n- SQL Project Planning\n- Placements\n- Symmetric Pairs\n- Interviews\n- 15 Days of Learning SQL\n\n### Alternative Queries\nPattern generation and advanced problem-solving\n- Draw The Triangle patterns\n- Print Prime Numbers\n\n## Resources\n\n### SQL Learning Resources\n- [W3Schools SQL Tutorial](https://www.w3schools.com/sql/) - Comprehensive SQL reference and tutorials\n- [SQLBolt Interactive Lessons](https://sqlbolt.com/) - Interactive SQL exercises for beginners\n- [PostgreSQL Documentation](https://www.postgresql.org/docs/) - Official PostgreSQL documentation\n- [MySQL Documentation](https://dev.mysql.com/doc/) - Official MySQL documentation\n- [SQL Server Documentation](https://docs.microsoft.com/en-us/sql/) - Microsoft SQL Server resources\n\n### Practice Platforms\n- [HackerRank SQL Domain](https://www.hackerrank.com/domains/sql) - Original source of these problems\n- [LeetCode Database Problems](https://leetcode.com/problemset/database/) - Additional SQL challenges\n- [SQLZoo Interactive Tutorial](https://sqlzoo.net/) - Interactive SQL learning platform\n- [Codecademy SQL Course](https://www.codecademy.com/learn/learn-sql) - Structured SQL learning path\n- [SQLiteOnline](https://sqliteonline.com/) - Browser-based SQL practice environment\n\n## License\n\nThis project is licensed under the MIT License. The problems are property of HackerRank and are used here for educational purposes only. Solutions are provided to help with learning and should not be used to cheat on actual assessments.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003eHappy Coding!\u003c/strong\u003e\u003cbr\u003e\n  Remember, the best way to learn SQL is through consistent practice and understanding the logic behind each query.\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboubakr-jelloulat%2Fsql-hackerrank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboubakr-jelloulat%2Fsql-hackerrank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboubakr-jelloulat%2Fsql-hackerrank/lists"}