We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a10c6 commit 18fe95aCopy full SHA for 18fe95a
analysis/bigquery/postviews-example.sql
@@ -0,0 +1,8 @@
1
+#standardsql
2
+SELECT pv_outer.*, ViewCount-(
3
+ SELECT MIN(ViewCount)
4
+ FROM `sotorrent-org.2019_12_25.PostViews` pv_inner
5
+ WHERE PostId=3758606) AS ViewCountSince2016_09
6
+FROM `sotorrent-org.2019_12_25.PostViews` pv_outer
7
+WHERE PostId=3758606
8
+ORDER BY Version DESC;
0 commit comments