Common Date Manipulations on Data Science SQL Interviews @stratascratch
Common Date Manipulations on Data Science SQL Interviews  @stratascratch
Uploaded February 2021 | Updated September 2026, 57 minutes ago
Date and datetime manipulations are really common and necessary to do data science work. The skill and concepts are often tested on data science interviews. Extracting components from the date field like year, day, month is super common in analytics. Often times you’re given a date field and asked to calculate or count some metric over years or months. Let's go over these concepts in this video.

Link to the question: platform.stratascratch.com/coding/9728-inspections-that-resulted-in-violations?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link

______________________________________________________________________

πŸ‘‰ 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 for date manipulation: (2:08)
Framework to solve the question: (3:05)
Coding the solution: (6:55)
Manipulating the date: (9:00)
More tips on manipulating dates: (12:24)
Conclusion: (13:51)

______________________________________________________________________
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
______________________________________________________________________
Common Date Manipulations on Data Science SQL InterviewsUber Data Science Python Interview Question WalkthroughPopular Databases You Should Know For Data ScienceTop 5 Challenges Data Scientists Face TodayVague Data Science Questions? Here’s How to Answer with ConfidenceAmazon Data Science Interview Question Walkthrough | How to Deal with Streaks in SQLCan ChatGPT Solve My Data Science Project?Advanced SQL Questions From Amazon (Handling complex logic in data science interviews)Spotify Days At Number One SQL QuestionMaster SQL Subqueries with Multiple TablesSQL Case Statements For Data Science Interviews in 2021Clean your data with these 8 python libraries
StrataScratch |

Common Date Manipulations on Data Science SQL Interviews

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER