You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13-3
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,23 @@ We believe it is important that our assessment of your skills matches the techni
8
8
9
9
## Problem 1
10
10
11
-
Please familiarize yourself with the schema defined in the file `problem1-schema.sql` in this repository.**TODO: Comment SQL Schema**
11
+
Please familiarize yourself with the schema defined in the file `problem1-schema.sql` in this repository.
12
12
13
-
**TODO: Explain what data should be aggregated. Maybe even give schema for final result?**
13
+
This schema is an example of a simple event tracking system for desktop live streaming software.
14
+
15
+
Please write one or more SQL User-Defined Functions to aggregate this table in a way that it can be used to generate the following reports:
16
+
- Monthly Active Users based on `stream_start` and `app_start` events
17
+
- Daily Active Users based on the same
18
+
- Daily count of new users
19
+
- User cohort retention based on `stream_start` and `app_start`
20
+
21
+
Please note, you are to provide the aggregated data necessary to generate these reports. Your output does not necessarily need to generate these reports in their final form.
22
+
23
+
Your solution should include SQL statements that define your UDF(s).
14
24
15
25
## Problem 2
16
26
17
-
Please familiarize yourself with the schema defined in the file `problem2-schema.sql` in this repository.**TODO: Comment SQL Schema**
27
+
Please familiarize yourself with the schema defined in the file `problem2-schema.sql` in this repository.
18
28
19
29
This schema is simple model of the Streamlabs live streaming tools service. Users can use the service to stream to any streaming platform. Users can receive donations from their viewers on the platform. Streamlabs is free to use, but there is a premium subscription service that provides additional features and benefits.
0 commit comments