https://github.com/gabrielcformiga/hackerrank-sql
Solutions to SQL problems from the HackerRank Online Judge using MySQL and SQL Style Guide from The GitLab Handbook.
https://github.com/gabrielcformiga/hackerrank-sql
hackerrank-solutions mysql sql
Last synced: 11 months ago
JSON representation
Solutions to SQL problems from the HackerRank Online Judge using MySQL and SQL Style Guide from The GitLab Handbook.
- Host: GitHub
- URL: https://github.com/gabrielcformiga/hackerrank-sql
- Owner: GabrielCFormiga
- License: mit
- Created: 2025-04-03T07:10:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T09:55:52.000Z (about 1 year ago)
- Last Synced: 2025-04-11T20:48:56.180Z (about 1 year ago)
- Topics: hackerrank-solutions, mysql, sql
- Language: SQL
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
This repository contains my solutions to SQL problems from the **HackerRank Online Judge**.
The structure of the repository is simple: each folder is named according to the corresponding **subdomain**, and the solution files are organized by the **problem name**.
Additionally, all the problems can be easily accessed in the [**Problem Set**](#Problem-Set).
All solutions follow the SQL Style Guide from **The GitLab Handbook** to ensure readability and best practices.
## Useful links
- [My HackerRank profile](https://www.hackerrank.com/profile/gabriel_campfor)
- [SQL Style Guide](https://handbook.gitlab.com/handbook/enterprise-data/platform/sql-style-guide/)
- [SQLFluff](https://github.com/sqlfluff/sqlfluff)
## Problem Set
- [**Basic Select**](#Basic-Select)
---
### Basic Select
| **Problem** | **Solution** |
|------------|-------------|
| [Revising the Select Query I](https://www.hackerrank.com/challenges/revising-the-select-query/problem) | [SQL](Basic%20Select/Revising%20the%20Select%20Query%201.sql) |
| [Revising the Select Query II](https://www.hackerrank.com/challenges/revising-the-select-query-2/problem) | [SQL](Basic%20Select/Revising%20the%20Select%20Query%202.sql) |
| [Select All](https://www.hackerrank.com/challenges/select-all-sql/problem) | [SQL](Basic%20Select/Select%20All.sql) |
| [Select By ID](https://www.hackerrank.com/challenges/select-by-id/problem) | [SQL](Basic%20Select/Select%20By%20ID.sql) |
| [Japanese Cities' Attributes](https://www.hackerrank.com/challenges/japanese-cities-attributes/problem) | [SQL](Basic%20Select/Japanese%20Cities%27%20Attributes.sql) |
| [Japanese Cities' Names](https://www.hackerrank.com/challenges/japanese-cities-name/problem) | [SQL](Basic%20Select/Japanese%20Cities%27%20Names.sql) |
| [Weather Observation Station 1](https://www.hackerrank.com/challenges/weather-observation-station-1/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%201.sql) |
| [Weather Observation Station 3](https://www.hackerrank.com/challenges/weather-observation-station-3/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%203.sql) |
| [Weather Observation Station 4](https://www.hackerrank.com/challenges/weather-observation-station-4/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%204.sql) |
| [Weather Observation Station 5](https://www.hackerrank.com/challenges/weather-observation-station-5/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%205.sql) |
| [Weather Observation Station 6](https://www.hackerrank.com/challenges/weather-observation-station-6/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%206.sql)
| [Weather Observation Station 7](https://www.hackerrank.com/challenges/weather-observation-station-7/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%207.sql)
| [Weather Observation Station 8](https://www.hackerrank.com/challenges/weather-observation-station-8/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%208.sql)
| [Weather Observation Station 9](https://www.hackerrank.com/challenges/weather-observation-station-9/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%209.sql)
| [Weather Observation Station 10](https://www.hackerrank.com/challenges/weather-observation-station-10/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%2010.sql)
| [Weather Observation Station 11](https://www.hackerrank.com/challenges/weather-observation-station-11/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%2011.sql)
| [Weather Observation Station 12](https://www.hackerrank.com/challenges/weather-observation-station-12/problem) | [SQL](Basic%20Select/Weather%20Observation%20Station%2012.sql)
| [Higher Than 75 Marks](https://www.hackerrank.com/challenges/more-than-75-marks/problem) | [SQL](Basic%20Select/Higher%20Than%2075%20Marks.sql)
| [Employee Names](https://www.hackerrank.com/challenges/name-of-employees/problem) | [SQL](Basic%20Select/Employee%20Names.sql)
| [Employee Salaries](https://www.hackerrank.com/challenges/salary-of-employees/problem) | [SQL](Basic%20Select/Employee%20Salaries.sql)