Uploaded January 2021 | Updated September 2026, 1 hour ago
This SQL question involves handling complex logic and implementing multiple scenarios and edge cases that can leave a new data scientist confused. Weβll go over this advanced SQL question that was asked by Amazon on a data science interview. Follow along with me.
Link to the question: platform.stratascratch.com/coding/514-marketing-campaign-success-advanced?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
This series is for both beginner and intermediate data scientists and analysts interested in learning how to solve common data science interview questions in SQL. These are real data science interview questions. For some background context and an intro about what this series is about: bit.ly/36kKbxG
π Subscribe to my channel: bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: bit.ly/3jifw81
π Playlist for data science interview tips: bit.ly/2G5hNoJ
π Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
Timestamps:
Intro: (0:00)
Question: (0:50)
3 Tips For Approach: (2:20)
Exploring The Data: (4:30)
Identifying All Scenarios & Edge Cases: (5:07)
Exploring The Scenarios In The Data: (7:40)
Coding The Solution: (10:40)
Conclusion: (19:23)
______________________________________________________________________
About The Platform:
I'm using StrataScratch, a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#datascience #stratascratch #sqlinterviews
This SQL question involves handling complex logic and implementing multiple scenarios and edge cases that can leave a new data scientist confused. Weβll go over this advanced SQL question that was asked by Amazon on a data science interview. Follow along with me.
Link to the question: platform.stratascratch.com/coding/514-marketing-campaign-success-advanced?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
This series is for both beginner and intermediate data scientists and analysts interested in learning how to solve common data science interview questions in SQL. These are real data science interview questions. For some background context and an intro about what this series is about: bit.ly/36kKbxG
π Subscribe to my channel: bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: bit.ly/3jifw81
π Playlist for data science interview tips: bit.ly/2G5hNoJ
π Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
Timestamps:
Intro: (0:00)
Question: (0:50)
3 Tips For Approach: (2:20)
Exploring The Data: (4:30)
Identifying All Scenarios & Edge Cases: (5:07)
Exploring The Scenarios In The Data: (7:40)
Coding The Solution: (10:40)
Conclusion: (19:23)
______________________________________________________________________
About The Platform:
I'm using StrataScratch, a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#datascience #stratascratch #sqlinterviews






![Facebooks Most Common Data Science SQL Interview Question [2021 Interview Question and Answer]
This is the most common data science interview question from Facebook. Itβs the most commonly tested concept on Facebooks coding interviews, especially in the beginning rounds.
In the previous video, we talked about 5 coding concepts that companies test for in 2021 so now well actually solve the 5 questions that test your understanding of these concepts. If you havent watched that video, heres the link to the video - https://bit.ly/3ek04by
Link to the question: https://platform.stratascratch.com/coding/2005-share-of-active-users?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
π Subscribe to my channel: https://bit.ly/2GsFxmAββ
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81ββ
π Playlist for data science interview tips: https://bit.ly/2G5hNoJββ
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkββ
Timeline:
Intro: (0:00ββ)
Interview Question: (0:50ββ)
Solution Approach: (1:50ββ)
Explore data: (2:28ββ)
Identify the required columns: (3:40ββ)
Visualize output: (4:14ββ)
Code in increments: (5:14ββ)
Conclusion: (10:16ββ)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkββ), a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkβ. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#SQLβ #DataScienceInterview Facebooks Most Common Data Science SQL Interview Question [2021 Interview Question and Answer]](https://i.ytimg.com/vi/XRwxYOhHdE8/mqdefault.jpg)



