Skip to content

Commit

Permalink
Update hackerrank.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle authored Jul 5, 2020
1 parent d9ba658 commit f7a89e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hackerrank.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
https://www.hackerrank.com/challenges/binary-search-tree-1/problem

```
```mysql
SELECT n,
CASE
WHEN p IS null THEN "Root"
Expand All @@ -13,7 +13,7 @@ ORDER BY n;

https://www.hackerrank.com/challenges/weather-observation-station-20/problem

```
```mysql
SET @row := -1;
SELECT ROUND(AVG(val), 4)
FROM
Expand All @@ -27,7 +27,7 @@ WHERE res.row = FLOOR(@row / 2) OR res.row = CEIL(@row / 2)

https://www.hackerrank.com/challenges/occupations/submissions/code/166421846

```
```mysql
set @r1=0, @r2=0, @r3=0, @r4=0;
SELECT MIN(Doctor),
MIN(Professor),
Expand All @@ -51,7 +51,7 @@ GROUP BY RowNumber

https://www.hackerrank.com/challenges/full-score/submissions/code/165153512

```
```mysql
SELECT Hackers.hacker_id,
Hackers.name
FROM Hackers
Expand All @@ -69,7 +69,7 @@ ORDER BY COUNT(Submissions.challenge_id) DESC, Hackers.hacker_id ASC;

https://www.hackerrank.com/challenges/the-report/submissions/code/165045045

```
```mysql
SELECT IF(Grades.Grade < 8, NULL, Students.name),
Grades.Grade,
Students.marks
Expand Down

0 comments on commit f7a89e7

Please sign in to comment.