Uploaded December 2020 | Updated September 2026, 14 minutes ago
Let's cover 3 types of SQL case statements that show up on data science interviews and that you'd use daily as a data scientist. I'll cover 3 different use cases for SQL case statements, explain the nuances, and what goes on behind the scenes when you execute your SQL query. All of this hopefully to make you better on your data science interviews.
Follow along interactively by coding the solutions to the questions:
- CASE statement for numerical values: platform.stratascratch.com/coding/9632-host-popularity-rental-prices?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
- CASE statement for text: platform.stratascratch.com/coding/9738-business-inspection-scores?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
- The most popular CASE statement on SQL interviews: platform.stratascratch.com/coding/10289-top-engagements?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)
Categorizing based on numerical values: (1:13)
Case statement helpful tip #1: (3:33)
Case statement helpful tip #2: (5:30)
Categorizing based on text: (6:30)
SQL helpful tip #3: (8:41)
Quick & dirty Case statement: (9:52)
Case statement helpful tip #4: (11:46)
Outro: (14:00)
_____________________________________________________________________
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.
Head over to platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link to solve a data science coding question.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#sql #sqlinterviews #datascienceinterviews
Let's cover 3 types of SQL case statements that show up on data science interviews and that you'd use daily as a data scientist. I'll cover 3 different use cases for SQL case statements, explain the nuances, and what goes on behind the scenes when you execute your SQL query. All of this hopefully to make you better on your data science interviews.
Follow along interactively by coding the solutions to the questions:
- CASE statement for numerical values: platform.stratascratch.com/coding/9632-host-popularity-rental-prices?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
- CASE statement for text: platform.stratascratch.com/coding/9738-business-inspection-scores?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
- The most popular CASE statement on SQL interviews: platform.stratascratch.com/coding/10289-top-engagements?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)
Categorizing based on numerical values: (1:13)
Case statement helpful tip #1: (3:33)
Case statement helpful tip #2: (5:30)
Categorizing based on text: (6:30)
SQL helpful tip #3: (8:41)
Quick & dirty Case statement: (9:52)
Case statement helpful tip #4: (11:46)
Outro: (14:00)
_____________________________________________________________________
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.
Head over to platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link to solve a data science coding question.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#sql #sqlinterviews #datascienceinterviews



![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)




![Exploratory Data Analysis For An Uber Python Data Science Project [Part 1]
In this video, well take you through a data project from Uber called Partner Business Modeling. Well delve into the details of exploring and cleaning up the dataset. Well use popular Python libraries such as Pandas, NumPy, and Matplotlib to manipulate, analyze and visualize the data. And showcase how custom functions can be used to create bar graphs and how to clean and change rows using the apply method.
Watch the next parts:
π Part 2: Using Python Pandas To Answer Business Questions For An Uber Data Science Project: https://www.youtube.com/watch?v Lzi4Qoy2v4
π Part 3: Data Science and Uber: Solving Partner Business Modeling using Python: https://youtu.be/xlppLbv7nb0
π§βπ» 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+data+preparation+uber+project
π 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+data+preparation+uber+project
Timeline:
Intro: (0:00βββ)
Data exploration and cleaning: (0:37)
Coding the solution: (6:49ββ)
Conclusion: (β8:57)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+data+preparation+uber+project), 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+data+preparation+uber+project. 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 #PythonInterviewQuestion Exploratory Data Analysis For An Uber Python Data Science Project [Part 1]](https://i.ytimg.com/vi/ZOthTms86Bw/mqdefault.jpg)

