Using IFNULL() on a Google SQL Interview Question

preview_player
Показать описание
This video will walk you through Google's "Videos Removed on Latest Date" SQL interview question.
We explore two datasets and use of IFNULL() function and SQL queries to find the latest date when flags got reviewed for each unique user, and then determine the total number of distinct videos that got removed on that date. Along the way, we discuss important SQL concepts such as filtering, joining, and aggregating tables.

Join us to see how we solve this hard-level problem!

Go to the question through the link below and follow along with me 👇

______________________________________________________________________

______________________________________________________________________

Timeline:

Intro: (0:00​​​)
Interview Question: (0:18 )
Exploring and understanding the dataset: (1:02)
Writing out the approach: (2:39​​)
Coding the solution: (3:42)
Conclusion: (​7:46)

______________________________________________________________________

About The Platform:

______________________________________________________________________

Contact:

If you have any questions, comments, or feedback, please leave them here!

______________________________________________________________________
#googleinterviewquestion #mysql
Рекомендации по теме
Комментарии
Автор

Was it necessary to use the ifnull again in the outer query?

redwannabil
Автор

What if the table a has multiple entries of same unique user?

wenukabandara