Let's cover 4 SQL window function interview questions asked on Airbnb, Netflix, Twitter, and Uber data science interviews. I cover the questions and how to solve them, and exactly what the functions are doing to the data.
Link to questions:
Aggregate Functions -- Uber: https://platform.stratascratch.com/co...
Ranking -- Twitter: https://platform.stratascratch.com/co...
NTILE() -- Netflix: https://platform.stratascratch.com/co...
LEAD/LAG -- Airbnb: https://platform.stratascratch.com/co...
______________________________________________________________________
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.
👉 Subscribe to my channel: https://bit.ly/2GsFxmA
👉 Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
👉 Practice more real data science interview questions: https://platform.stratascratch.com/co...
______________________________________________________________________
Timestamps:
Intro: (0:00)
Aggregate Functions: (1:03)
Rankings(): (7:35)
Ntile(): (11:27)
Lag/Lead: (16:00)
Conclusion: (21:05)
______________________________________________________________________
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 https://platform.stratascratch.com/co.... 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 [email protected]
#sql #datascience #sqlinterviews