SQL Challenge Solution: User Activity for the Past 30 Days | vanAmsen Coding | 1141

Опубликовано: 28 Февраль 2026
на канале: vanAmsen
115
6

In this video, we are going to tackle one of the popular SQL tasks - calculating daily active user count for a specific period. The task presents a common challenge that developers and data analysts face in the real world. Using the "Activity" table of a social media website, we will write an SQL query to find out the daily active user count for a period of 30 days ending 2019-07-27. A user is considered active if they have at least one activity recorded for the day.

0:00 - Introduction
1:17 - Implementation
2:05 - Testing
3:05 - Outro

Throughout the video, I'll explain each step of the solution in detail. From understanding the problem, analyzing the table structure and data types, to discussing the SQL concepts used like ENUMs, date functions, and grouping. By the end of the video, you will not only learn how to solve this specific problem, but also get a deeper understanding of how to approach similar problems in the future.

Whether you're preparing for a coding interview, learning SQL, or you're a seasoned developer seeking a quick refresher, this video provides valuable insights. So, let's dive in!