This page contains solutions for all HackerRank SQL challenges which were passed successfully. There can be multiple ways of approaching solution to any problem. Please find the provided solutions for learning purposes only.
SQL (Basic) | SQL (Intermediate) | SQL (Advanced) | |
---|---|---|---|
Number of Problems | 40 | 14 | 4 |
Basic Select | Advanced Select | Aggregation | Basic Join | Advanced Join | Alternative Queries | |
---|---|---|---|---|---|---|
Number of Problems | 20 | 5 | 17 | 8 | 5 | 3 |
Sr No | Challenges | Language | Solution | Skills |
---|---|---|---|---|
1 | Type of Triangle | MySQL | Type-of-Triangle | Basic |
2 | The PADS | MySQL | The-PADS | Basic |
3 | Occupations | MySQL | Occupations | Intermediate |
4 | Binary Tree Nodes | MySQL | Binary-Tree-Nodes | Intermediate |
5 | New Companies | MySQL | New-Companies | Intermediate |
Sr No | Challenges | Language | Solution | Skills |
---|---|---|---|---|
1 | Population Census | MySQL | Population-Census | Basic |
2 | African Cities | MySQL | African-Cities | Basic |
3 | Average Population of Each Continent | MySQL | Average-Population-of-Each-Continent | Basic |
4 | The Report | MySQL | The-Report | Intermediate |
5 | Top Competitors | MySQL | Top-Competitors | Intermediate |
6 | Ollivander's Inventory | MySQL | Ollivander's-Inventory | Intermediate |
7 | Challenges | MySQL | Challenges | Intermediate |
8 | Contest Leaderboard | MySQL | Contest-Leaderboard | Intermediate |
Sr No | Challenges | Language | Solution | Skills |
---|---|---|---|---|
1 | SQL Project Planning | MySQL | SQL-Project-Planning | Intermediate |
2 | Placements | MySQL | Placements | Intermediate |
3 | Symmetric Pairs | MySQL | Symmetric-Pairs | Intermediate |
4 | Interviews | MySQL | Interviews | Intermediate |
5 | 15 Days of Learning SQL | MySQL | 15-Days-of-Learning-SQL | Advanced |
Sr No | Challenges | Language | Solution | Skills |
---|---|---|---|---|
1 | Draw The Triangle 1 | MySQL | Draw-The-Triangle-1 | Advanced |
2 | Draw The Triangle 2 | MySQL | Draw-The-Triangle-2 | Advanced |
3 | Print Prime Numbers | MySQL | Print-Prime-Numbers | Advanced |