GithubHelp home page GithubHelp logo

sql-hackerrank's Introduction

Sql-HackerRank

Solutions to HackerRank SQL problems.

Capture

Prerequisites

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.

Installing MySQL locally

There are several methods for installing MySQL directly on your machine. I would recommend that you use Docker.

Online interpreters

There are several websites that provide online MySQL interpreters that do not require a login or registration. This website is one of them.

Basic Select

# Title Solution
1 Employee Names sql
2 Employee Salaries sql
3 Higher Than 75 Marks sql
4 Revising the Select Query I sql
5 Revising the Select Query II sql
6 Select All sql
7 Select By ID sql
8 Japanese Cities' Attributes sql
9 Japanese Cities' Names sql
10 Weather Observation Station 1 sql
11 Weather Observation Station 3 sql
12 Weather Observation Station 4 sql
13 Weather Observation Station 5 sql
14 Weather Observation Station 6 sql
15 Weather Observation Station 7 sql
16 Weather Observation Station 8 sql
17 Weather Observation Station 9 sql
18 Weather Observation Station 10 sql
19 Weather Observation Station 11 sql
20 Weather Observation Station 12 sql

Advanced Select

# Title Solution
1 Type of Triangle sql
2 The PADS sql
3 Occupations sql
4 Binary Tree Nodes sql
5 New Companies sql

Aggregation

# Title Solution
1 Revising Aggregations - The Count Function sql
2 Revising Aggregations - The Sum Function sql
3 Revising Aggregations - Averages sql
4 Average Population sql
5 Japan Population sql
6 Population Density Difference sql
7 The Blunder sql
8 Top Earners sql
9 Weather Observation Station 2 sql
10 Weather Observation Station 13 sql
11 Weather Observation Station 14 sql
12 Weather Observation Station 15 sql
13 Weather Observation Station 16 sql
14 Weather Observation Station 17 sql
15 Weather Observation Station 18 sql
16 Weather Observation Station 19 sql
17 Weather Observation Station 20 sql

Basic Join

# 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

Advanced Join

# Title Solution
1 SQL Project Planning sql
2 Placements sql
3 Symmetric Pairs sql
4 Interviews sql
5 15 Days of Learning SQL sql

Alternative Queries

# Title Solution
1 Draw The Triangle 1 sql
2 Draw The Triangle 2 sql
3 Print Prime Numbers sql

sql-hackerrank's People

Contributors

djeada avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.