Ace SQL Interviews: A Data-driven Approach for Data Scientists

  Рет қаралды 7,325

Emma Ding

Emma Ding

Күн бұрын

Top N is the most frequently presented SQL question in interviews. In this video, I hope to help you understand how to answer questions like, “What are the Top 5 highest-rated movies?” and “What are the Top 3 highest paid employees per department?” I’ll demonstrate the problem using an example, and fill you in on how to modify the query when there are ties in the ranks.
🟢Get all my free data science interview resources
www.emmading.com/get-all-my-f...
🟡 Product Case Interview Cheatsheet www.emmading.com/product-case...
🟠 Statistics Interview Cheatsheet www.emmading.com/statistics-i...
🟣 Behavioral Interview Cheatsheet www.emmading.com/behavioral-i...
🔵 Data Science Resume Checklist www.emmading.com/data-science...
✅ We work with Experienced Data Scientists to help them land their next dream jobs. Apply now: www.emmading.com/coaching
// Comment
Got any questions? Something to add?
Write a comment below to chat.
// Let's connect on LinkedIn:
/ emmading001
====================
Contents of this video:
====================
00:00 Introduction
01:22 Get My Notion Pages!
01:44 Top N Problem
02:15 Sample Questions
02:33 Top N Records
03:02 LIMIT and OFFSET
03:47 Window Functions
05:30 Top N Per Category
07:40 Top N Per Category With Ties
08:50 Topic for Next Video

Пікірлер: 13
@davidskarbrevik
@davidskarbrevik Жыл бұрын
Nice concise explanations. Looking forward to a part 2
@romangirin772
@romangirin772 Жыл бұрын
cool explanations with examples which easy to grasp
@nehusingh2006
@nehusingh2006 Жыл бұрын
Hi Emma, your videos and contents are always super resourceful. If you ever have time please do a video on Correlation and how to handle strongly Correlated feature.
@krzysztofjarek6476
@krzysztofjarek6476 2 ай бұрын
Thanks, great video - clear explanation ☺
@brittanybutterworth7994
@brittanybutterworth7994 11 ай бұрын
Really good content - I had to watch it over twice because the video was so technically dense. I really appreciate this kind of problem because its easy to see where you could logically be asked to do this type of query on the first day of the job rather than a nebulous situation. Thanks so much for making these videos!! ♥
@emma_ding
@emma_ding 11 ай бұрын
Thank you for the kind words, Brittany! Happy to help! 😊
@deenadayalan03
@deenadayalan03 Жыл бұрын
Thank you ❤️❤️
@TheACG22
@TheACG22 Жыл бұрын
Hi Emma, I bombed a coding interview just last week with a Top N question requiring window functions. Never again! Also, just wanted to say that I'd like to follow you on LinkedIn, but afraid that people at my company will see that I liked/follow a person giving advice on how to interview for jobs , which might tip them off on my job search. All this to say that there may be others like me who are closet followers :)
@emma_ding
@emma_ding Жыл бұрын
Hi, Austin! Thanks for your comment. 💛 Imagining having secret followers made me chuckle. 😊 Also, I'm sorry to hear about your recent interview experience, but wanted to let you know I'm rooting for you!
@SanuSatyam
@SanuSatyam Жыл бұрын
Nice Session. Your explanations are precise and clear. Can you please upload the notion page of this video?
@emma_ding
@emma_ding Жыл бұрын
Many of you have asked me to share my presentation notes, and now… I have them for you! Download all the PDFs of my Notion pages at www.emmading.com/get-all-my-free-resources. Enjoy!
@mhh5002
@mhh5002 Жыл бұрын
7:35 where does "rating" column come from in the tables 'avg_ratings' and 'rating_rank'? Shouldn't it be 'avg_rating'?
@ayandakeith
@ayandakeith 11 ай бұрын
Thought I was the only one that saw that.
Master SQL Window Functions for Data Science Interviews in 2023
10:32
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 22 М.
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 16 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 42 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 34 МЛН
Top SQL Interview Q&A for Data Scientists
9:20
Emma Ding
Рет қаралды 8 М.
SQL Interview questions | Data Analyst | Part - 4
14:55
The ML Mine
Рет қаралды 613
Ace Your Data Science Interview: Top SQL Questions to Master
12:49
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 16 МЛН