Uploaded February 2023 | Updated December 2026, 3 hours ago
Calculating ratios is one of the most frequently asked SQL questions in data science interviews. In this video, I’ll go over the two most common ways to compute a ratio, and feature two examples to demonstrate solving the problems in real-time: how to calculate the premium subscription rate, and the immediate order from customers’ order data.
🟢Get all my free data science interview resources
emmading.com/get-all-my-free-resources
🟡 Product Case Interview Cheatsheet emmading.com/product-case-cheat-sheet
🟠 Statistics Interview Cheatsheet emmading.com/statistics-interview-cheat-sheet
🟣 Behavioral Interview Cheatsheet emmading.com/behavioral-interview-cheat-sheet
🔵 Data Science Resume Checklist emmading.com/data-science-resume-checklist
✅ We work with Experienced Data Scientists to help them land their next dream jobs. Apply now: emmading.com/coaching
// Comment
Got any questions? Something to add?
Write a comment below to chat.
// Let's connect on LinkedIn:
linkedin.com/in/emmading001
====================
Contents of this video:
====================
00:00 Introduction
00:38 Ratios
01:10 Calculating Ratios
01:39 Two Methods
02:07 Example: Subscription Rate
05:00 Example: Immediate Order
08:58 Outro
Calculating ratios is one of the most frequently asked SQL questions in data science interviews. In this video, I’ll go over the two most common ways to compute a ratio, and feature two examples to demonstrate solving the problems in real-time: how to calculate the premium subscription rate, and the immediate order from customers’ order data.
🟢Get all my free data science interview resources
emmading.com/get-all-my-free-resources
🟡 Product Case Interview Cheatsheet emmading.com/product-case-cheat-sheet
🟠 Statistics Interview Cheatsheet emmading.com/statistics-interview-cheat-sheet
🟣 Behavioral Interview Cheatsheet emmading.com/behavioral-interview-cheat-sheet
🔵 Data Science Resume Checklist emmading.com/data-science-resume-checklist
✅ We work with Experienced Data Scientists to help them land their next dream jobs. Apply now: emmading.com/coaching
// Comment
Got any questions? Something to add?
Write a comment below to chat.
// Let's connect on LinkedIn:
linkedin.com/in/emmading001
====================
Contents of this video:
====================
00:00 Introduction
00:38 Ratios
01:10 Calculating Ratios
01:39 Two Methods
02:07 Example: Subscription Rate
05:00 Example: Immediate Order
08:58 Outro










