
Can you answer the SQL question that came up in a Google data analyst interview?
Not rhetorical. Here's one that's been reported from real Google data analyst screens:
For each month in 2024, find the top 3 search queries by total search volume. In case of a tie, include all tied queries.
Sounds straightforward. Most people reach for RANK() and get it wrong. The reason is how tied results interact with the top 3 cutoff. DENSE_RANK() is the right call and knowing why is exactly the kind of thing that separates people who pass SQL screens from people who don't.
Companies like Meta, Amazon, Netflix and Airbnb have their own versions of this. The specific tables and business context change but the underlying pattern is consistent enough that practicing real reported questions makes a noticeable difference.
I've been building out a Career Hub on QueryCase with SQL questions sourced from actual candidate reports at these companies. You write the solution in the browser and get a worked answer that explains the insight most people miss, not just the correct query. There's also a rapid-fire MCQ section for the non-SQL parts of data interviews: business metrics, A/B testing, stakeholder questions.
If you want to try the Google question above or a few others: querycase.com
Feedback on difficulty and question selection very welcome, still building it out.