Grokking SQL for Tech Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
21. Daily User Engagement Levels
On this page

Problem Statement

Table: Users
Each row of this table contains the ID and the name of one user.

+---------------+---------+
| Column Name   | Type    |
+---------------+---------+
| user_id       | int     |
| user_name     | varchar |
+---------------+---------+
user_id is the primary key for this table.

Table: Engagement
Each row of this table records the daily engagement score of a user.

+---------------+------+
| Column Name   | Type |
+---------------+------+
| user_id       | int  |
| engagement    | int  |
| date          | date |

.....

.....

.....

Like the course? Get enrolled and start learning!

On this page