Skip to content

Commit 92bf379

Browse files
committed
2024-08-11
1 parent bb8a006 commit 92bf379

File tree

8 files changed

+12
-1
lines changed

8 files changed

+12
-1
lines changed

hackerrank/.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Ignore everyhing
22
*
33
# Except
4+
# these directories
5+
!/python
6+
!/sql
47
# these extensions
58
!*.c
69
!*.cpp
10+
!*.py
711
!*.sql
8-
# And the these files
12+
# and the these files
913
!.gitignore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Hello, World!")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT * FROM city WHERE countrycode = 'JPN';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT name FROM city WHERE countrycode = 'JPN';

hackerrank/sql/select-all-sql.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT * FROM city;

hackerrank/sql/select-by-id.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT * FROM city WHERE ID = 1661;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT city, state FROM station;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT DISTINCT city FROM station WHERE (ID % 2) = 0;

0 commit comments

Comments
 (0)