Data Science SQL Interview Question Walkthrough [Microsoft] - Window Function: Ranking @stratascratch
Data Science SQL Interview Question Walkthrough [Microsoft] - Window Function: Ranking  @stratascratch
Uploaded July 2021 | Updated September 2026, 1 hour ago
This Data Science SQL interview question is from Microsoft, and tests your ability to write window functions to rank data. 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.

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

Link to the question: platform.stratascratch.com/coding/2026-bottom-2-companies-by-mobile-usage?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

______________________________________________________________________

Timeline:

Intro: (0:00​​​)
Interview Question: (0:31​​)
Framework to solve the problem: (1:25​​​)
Understand your data: (2:33​​​)
Formulate your approach: (5:05​​​)
Code Execution: (7:09​​​)
Code Optimization: (15:54​​​)
Conclusion: (18:10​​​)
______________________________________________________________________

About The Platform:

I'm using StrataScratch (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 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
______________________________________________________________________


#MicrosoftDataScienceInterview
Data Science SQL Interview Question Walkthrough [Microsoft] - Window Function: RankingData Provides vs Data Users: Choose Your Job in Data ScienceThe Most Popular Algorithms For BeginnersAirbnb Python Coding Practice for InterviewSQL Interview Questions From MICROSOFT | Expensive Projects (Data Science Interview Questions)AI Can Solve Your Data Science Take-Home. Can You Still Defend It?Top Data Science Interview Question And Answer Mistakes 2021 [Asked By Amazon]Dealing With Python Date Manipulations In a Meta/Facebook Data Science Interview QuestionAI Proof Your Data Science Career With These 4 Skills5 Ways to Impress as a Data ScientistWhen A/B Tests Lie: Simpsons Paradox ExplainedMastering Movie Classification: Rotten Tomatoes Data Project [Part 2]
StrataScratch |

Data Science SQL Interview Question Walkthrough [Microsoft] - Window Function: Ranking

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER