Solutions to HackerRank SQL problems.
You will need access to a database as well as the MySQL interpreter. You may either install them locally or use one of the online interpreters.
There are several methods for installing MySQL directly on your machine. I would recommend that you use Docker.
There are several websites that provide online MySQL interpreters that do not require a login or registration. This website is one of them.
# | Title | Solution |
---|---|---|
1 | Type of Triangle | sql |
2 | The PADS | sql |
3 | Occupations | sql |
4 | Binary Tree Nodes | sql |
5 | New Companies | sql |
# | Title | Solution |
---|---|---|
1 | Population Census | sql |
2 | African Cities | sql |
3 | Average Population of Each Continent | sql |
4 | The Report | sql |
5 | Top Competitors | sql |
6 | Ollivander's Inventory | sql |
7 | Challenges | sql |
8 | Contest Leaderboard | sql |
# | Title | Solution |
---|---|---|
1 | SQL Project Planning | sql |
2 | Placements | sql |
3 | Symmetric Pairs | sql |
4 | Interviews | sql |
5 | 15 Days of Learning SQL | sql |
# | Title | Solution |
---|---|---|
1 | Draw The Triangle 1 | sql |
2 | Draw The Triangle 2 | sql |
3 | Print Prime Numbers | sql |