Interview preparation · 7 min read

Data Analyst Interview Questions: SQL, Case and Stakeholder Rounds

By Postulit TeamPublished on Updated on

A data analyst interview usually tests several things at once: whether you can get the right rows out of a database, whether you can reason about a messy business problem, and whether you can explain the result to someone who has never written a query. Most candidates over-prepare the SQL and walk into the rest cold. Here is how each round tends to work and what to rehearse for it.

The stages you are likely to meet

Processes vary a lot between employers, so treat this as a common pattern rather than a rule. A typical sequence looks like this:

  1. A recruiter screen of 20 to 30 minutes about your background, salary expectations and availability.
  2. A SQL or spreadsheet test, either live with an interviewer or as a timed online exercise.
  3. A case or business question, often spoken rather than written.
  4. A stakeholder or behavioural round with the hiring manager or someone from the business side.

Some teams swap the live test for a dataset you analyse at home and a short write-up. If that happens, the advice in our guide to take-home assignments applies: scope it, document your assumptions and hand it in on time. Before any of this, make sure the CV the recruiter reads actually matches the role. If your LinkedIn profile is already up to date, Postulit can turn it into a CV in a few minutes, so you are not rebuilding it the night before a screen.

The SQL test: what to rehearse

The data analyst technical interview is rarely about obscure syntax. It is about whether you can turn a plain question into a correct query without losing rows or counting things twice. These are the topics behind most SQL interview questions for data analyst roles, in one form or another:

  • Joins. Know when an inner join silently drops records and when a left join keeps them with nulls. Be ready to say what happens to the row count after each join.
  • Group by and aggregation. Counting, summing and averaging per category, plus the difference between WHERE and HAVING.
  • Filtering. Date ranges, several conditions at once, and IN versus EXISTS.
  • Window functions. ROW_NUMBER, RANK, running totals, and comparisons with the previous period using LAG.
  • Nulls and duplicates. How COUNT(*) differs from COUNT(column), and how to find duplicated customer records before they inflate a total.
  • Dates. Truncating timestamps to week or month, and handling time zones if the data spans regions.

Here is the kind of task you might get, described in plain words. You have an orders table and a customers table, and you are asked for each customer's most recent order. One clean approach: join the two tables on the customer ID, number each customer's orders from newest to oldest with ROW_NUMBER partitioned by customer, then keep only the rows numbered 1. Say that plan out loud before you type anything.

Talk while you write

Interviewers learn more from your narration than from the final query. State your assumptions ("I'm assuming one row per order, so I'll check for duplicates first"), build the query in small steps, and finish with a sanity check, such as comparing the row count with what you expected. If you get stuck, say what you would look up and move on rather than going silent.

This round is different from a software engineering interview. If you are also applying to developer roles with algorithm questions, this coding interview prep guide covers that format separately.

The case question: a metric dropped 15 percent

A classic prompt: "Weekly active users dropped 15 percent last week. What do you do?" There is no single right answer. The interviewer wants to see a structured way of thinking, so walk through it in order.

Check the data first. Before blaming the product, confirm the drop is real. Did a tracking change ship? Is last week's data complete, or did a pipeline fail on Sunday? Picture an invented app, Fernbrook, whose dashboard shows 40,000 weekly users falling to 34,000. A quick look reveals that one day logged almost no events. That is a data problem, not a user problem.

Segment. If the data holds up, split the drop by platform, country, acquisition channel, and new versus returning users. Often the decline sits in one place: say, Android users in one region fell sharply while everything else stayed flat.

Form hypotheses. Link that segment to possible causes: an Android release that same week, a payment outage, a marketing campaign that just ended, a public holiday in that region.

Propose next steps. Say what you would query next, who you would talk to (the mobile team, the marketing lead) and what result would confirm or rule out each idea. Ending with a clear next action matters more than guessing the cause correctly.

Stakeholder questions and how to answer them

This round checks whether people will trust you with their decisions. Expect questions like these, and prepare a short real example for each:

  • "Explain a finding to a non-technical manager." Lead with the decision, then the number, then one sentence on method. Skip the joins entirely.
  • "Tell me about a time you pushed back on a request." Show that you asked what decision the report would support, then offered something smaller or more useful.
  • "Describe a time the data was wrong." Say how you noticed, who you told, and what check you put in place so it would not happen again.
  • "How do you prioritise requests from several teams?" Talk about impact and deadlines, and about making the trade-off visible to the people asking.
  • "A manager disagrees with your analysis. What do you do?" Separate the data from the interpretation, and offer to test their alternative explanation.
  • "Which dashboard you built is still in use, and why?"

A simple structure works: the situation, what you did, what changed. Keep each answer under two minutes.

The portfolio walk-through

Many interviewers ask you to present one project. Pick a single one and tell it in four steps: the question, the data, the method, the decision. For example, a retailer wanted to know whether a loyalty discount brought customers back (question). You had twelve months of transactions and a list of members (data). You compared repeat purchase rates between similar members and non-members (method). The team kept the discount for one product category and dropped it everywhere else (decision).

Be honest about limits. Saying "the groups were not randomised, so this is a correlation" earns more credit than overselling the result. If the project appears on your CV, keep the wording consistent with what you say in the room; our data analyst CV guide shows how to write these projects up.

Questions to ask about data maturity

Your own questions show how you think, and they tell you what the job will feel like day to day. A few worth asking:

  • Who owns the core data, and is there a data engineering team?
  • What is the stack: which warehouse, which BI tool, and is the SQL under version control?
  • How do requests arrive: a ticket queue, chat messages, or a weekly planning meeting?
  • How often does an analysis change a decision, and can they give a recent example?

Vague answers to the first and third questions often point to a lot of ad hoc reporting. That is not a reason to turn the offer down, but it is worth knowing before you sign.

A one-week preparation plan

If your interview is a week away, spread the work out. Spend three short sessions writing queries on a public dataset, timing yourself and narrating out loud. Run one mock case question with a friend who plays the manager. Write down five stakeholder stories and one portfolio project in the four-step format. The day before, reread the job description, pick the two stories that fit it best, then stop preparing and get some sleep.

Try Postulit

Now tailor your résumé in 30 seconds.

Build my resume — 7-day free trial
◆ The Postulit Brief

Stay connected!

Receive the latest articles directly in your inbox

No spam · Unsubscribe anytime