Uploaded January 2021 | Updated September 2026, 2 hours ago
Let's talk about a framework to organize lengthy SQL code on a data science interview or on the job. Most data science problems involve numerous business rules and deal with complicated logic. Your code might end up being hundreds of lines long. How do we properly organize our solution? I lay out a framework that can help anyone.
Link to the question: platform.stratascratch.com/coding/9701-3rd-most-reported-health-issues?python=null&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.
π 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)
4 Tips on Approaching Writing Lengthy Code: (1:35)
Interview Question: (4:50)
Exploring the Data: (5:20)
Writing Out the Approach: (5:58)
Solution: (7:20)
Conclusion: (13:25)
______________________________________________________________________
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
______________________________________________________________________
Let's talk about a framework to organize lengthy SQL code on a data science interview or on the job. Most data science problems involve numerous business rules and deal with complicated logic. Your code might end up being hundreds of lines long. How do we properly organize our solution? I lay out a framework that can help anyone.
Link to the question: platform.stratascratch.com/coding/9701-3rd-most-reported-health-issues?python=null&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.
π 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)
4 Tips on Approaching Writing Lengthy Code: (1:35)
Interview Question: (4:50)
Exploring the Data: (5:20)
Writing Out the Approach: (5:58)
Solution: (7:20)
Conclusion: (13:25)
______________________________________________________________________
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
______________________________________________________________________
![[Part 2] EDGE Cases in Data Analysis: How to Reduce the Risk of Missing Important Details
In this video, you will learn how considering the EDGE cases help in data analysis to reduce the risks of missing important details.
Part 1: https://www.youtube.com/shorts/rEaSskQhId4
π Watch the full video: https://youtu.be/yQSZT65WET4
π 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
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
#EDGEcase #DataAnalysis [Part 2] EDGE Cases in Data Analysis: How to Reduce the Risk of Missing Important Details](https://i.ytimg.com/vi/vQmk0bH25d0/mqdefault.jpg)




![Using Python Pandas for Building Ubers Business Models [Part 3]
Welcome to the final episode in our Uber Data Science Project Series! In this video, we dive into solving Ubers Partner Business Modeling data project using Python to filter data and find the answers. Specifically, we tackle scenario two, where we calculate the net earnings per year of a taxi driver who generates $200 per day before expenses. We also calculate how much the drivers gross fares need to increase per week to fully pay for a $40,000 car and maintain the same yearly profit as before, assuming the driver partners with Uber. Join us as we walk you through the process and share the exciting final results of this data project. Dont forget to subscribe and hit the notification bell to stay updated on our latest content.
Watch our previous video:
π Part 1: Exploratory Data Analysis For An Uber Python Data Science Project: https://youtu.be/ZOthTms86Bw
π Part 2: Using Python Pandas To Answer Business Questions For An Uber Data Science Project: https://www.youtube.com/watch?v Lzi4Qoy2v4
π§βπ» Go to the question through the link below and follow along with us: https://platform.stratascratch.com/data-projects/partner-business-modeling?utm_source=youtube&utm_medium=click&utm_campaign=YT+partner+business+modeling+uber+project+3
π 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+partner+business+modeling+uber+project+3
Timeline:
Intro: (0:00βββ)
Exploring and understanding the data: (0:15)
Coding the solution: (1:26ββ)
Conclusion: (β8:46)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+partner+business+modeling+uber+project+3), 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+partner+business+modeling+uber+project+3. 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
#PythonDataProject #DataScienceProject #UberDataScienceProject Using Python Pandas for Building Ubers Business Models [Part 3]](https://i.ytimg.com/vi/xlppLbv7nb0/mqdefault.jpg)



![Data Science SQL Scenario Based Interview Question [Facebook] - Date Manipulation
This Data Science SQL interview question is from Facebook, and tests your ability to filter out data based on date conditionals. Iβll walk you through solving the question like weβre in an interview and give you some tips on how to approach the solution as well as how to efficiently and effectively communicate with your interviewer.
Go to the question through the link below and follow along with me.
Link to the question: https://platform.stratascratch.com/coding/2004-number-of-comments-per-user-in-past-30-days?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:33ββ)
Framework to solve the problem: (1:08βββ)
Understand your data: (2:25βββ)
Formulate your approach: (4:16βββ)
Code Execution: (6:15βββ)
Additional Technical Concepts: (11:56βββ)
Conclusion: (14:40βββ)
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
#FacebookDataScienceInterview Data Science SQL Scenario Based Interview Question [Facebook] - Date Manipulation](https://i.ytimg.com/vi/yY7yau9j3xk/mqdefault.jpg)
