Skip to content

Commit 1a2c0a0

Browse files
committed
clean bigquery queries
1 parent 00eaefe commit 1a2c0a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sql/monthly.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SELECT
2-
REPLACE(REPLACE(REPLACE(title, ' | Hackers and Slackers', ''), ' | Hackers And Slackers', ''), '- Hackers and Slackers', '') as title,
2+
REPLACE(title, ' - Hackers and Slackers', '') as title,
33
url,
44
REPLACE(REPLACE(url, 'https://hackersandslackers.com/', ''), '/' , '') as slug,
55
COUNT(title) AS views

sql/weekly.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SELECT
2-
REPLACE(REPLACE(REPLACE(title, ' | Hackers and Slackers', ''), ' | Hackers And Slackers', ''), '- Hackers and Slackers', '') as title,
2+
REPLACE(title, ' - Hackers and Slackers', '') as title,
33
url,
44
REPLACE(REPLACE(url, 'https://hackersandslackers.com/', ''), '/' , '') as slug,
55
COUNT(title) AS views
@@ -13,4 +13,4 @@ GROUP BY
1313
ORDER BY
1414
COUNT(title) DESC
1515
LIMIT
16-
100;
16+
100;

0 commit comments

Comments
 (0)