MENU

Fun & Interesting

SQL Mock Interview: Find employees who earn more than their managers

Exponent 9,704 lượt xem 2 years ago
Video Not Working? Fix It Now

Don't leave your SQL interviews to chance. Sign up for Exponent's SQL interview course today: https://bit.ly/48LVNXz

In this SQL mock interview, an American Express PM writes SQL to determine which employees make more than their managers. We'll review the SQL syntax, table design, data types, aggregation functions, subqueries, joins, and conditional statements that you'll need to be familiar with to succeed in the mock interview.

Want more SQL content?
- Analyze a User's Posts: https://youtu.be/VFCtuuUcFdM
- Analyze Marketing Channels: https://youtu.be/lnhuCj0EfPI
- Complex Datasets with SQL: https://youtu.be/LuU9fm20JPU
- SQL vs. NoSQL Explained (in 4 Minutes): https://youtu.be/_Ss42Vb1SU4

Chapters -
00:00 - Intro
00:11 - Answer
02:44 - What would the output look like?
04:11 - Query without joining sub-queries
05:49 - Which approach is more efficient and why?
06:39 - How often do you write queries in your PM role?
09:17 - Outro

👉 Subscribe to our channel: http://bit.ly/exponentyt
🕊️ Follow us on Twitter: http://bit.ly/exptweet
💙 Like us on Facebook for special discounts: http://bit.ly/exponentfb
📷 Check us out on Instagram: http://bit.ly/exponentig
📹 Watch us on TikTok: https://bit.ly/exponenttiktok

ABOUT US:
Did you enjoy this interview question and answer? Want to land your dream career? Exponent is an online community, course, and coaching platform to help you ace your upcoming interview. Exponent has helped people land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others.

Our courses include interview lessons, questions, and complete answers with video walkthroughs. Access hours of real interview videos, where we analyze what went right or wrong, and our 1000+ community of expert coaches and industry professionals, to help you get your dream job and more!

#sql #sqlinterview #datascience #businessanalyst

Comment