Data Analyst Interview Questions and Answers (SQL, Excel, Metrics)
SQL, analytics thinking and communication. Practise saying the SQL out loud; many analyst rounds are live.
Data analyst questions (8)
01
Write a SQL query to find the second-highest salary.
mediumtechnicalIT servicesProduct & startupsBanks & fintechWhat the interviewer is checking: SQL fluency and handling of edge cases.
A strong answer covers
- One way: SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp).
- Window version: DENSE_RANK() OVER (ORDER BY salary DESC) and pick rank 2.
- Mention ties (DENSE_RANK vs ROW_NUMBER) and empty results.
02
Explain the different SQL joins.
easytechnicalIT servicesWhat the interviewer is checking: Fundamentals.
A strong answer covers
- INNER: only matching rows.
- LEFT: all rows from the left table, matches or NULLs from the right.
- RIGHT: the opposite. FULL OUTER: all rows from both.
- Watch for duplicates when the join key is not unique.
03
Daily active users dropped 15% yesterday. How do you investigate?
hardsituationalProduct & startupsBig tech / MNCWhat the interviewer is checking: Structured analytical thinking.
A strong answer covers
- First check data quality: tracking bugs, pipeline delays, definition changes.
- Segment: platform, region, app version, new vs returning users.
- Check internal changes (releases, outages) and external ones (holidays, competitors).
- Form a hypothesis, test it, and share findings with a clear next step.
04
Tell me about a dashboard or analysis that changed a decision.
mediumbehaviouralWhat the interviewer is checking: Business impact, not just technical skills.
A strong answer covers
- The business question.
- Data sources and how you made sure they were right.
- The insight and how you presented it.
- The decision taken and its measured effect.
05
How would you analyse an A/B test?
mediumtechnicalProduct & startupsBig tech / MNCWhat the interviewer is checking: Experiment basics.
A strong answer covers
- Define one primary metric and guardrail metrics before starting.
- Check sample size and randomisation.
- Compare with a significance test and confidence intervals.
- Watch for peeking, novelty effects and segment differences.
- Recommend a decision, not just numbers.
06
How would you combine two large Excel sheets by customer ID?
easytechnicalIT servicesBanks & fintechWhat the interviewer is checking: Practical tooling.
A strong answer covers
- XLOOKUP (or VLOOKUP/INDEX-MATCH) for simple lookups.
- Power Query for repeatable merges and cleaning.
- Check for duplicates and mismatched formats (text vs number IDs) first.
- For very large data, move to SQL or Python.
07
How do you clean a messy dataset before analysis?
mediumtechnicalWhat the interviewer is checking: Practical data-quality habits.
A strong answer covers
- Profile first: row counts, nulls, duplicates, value ranges, types.
- Fix types and formats (dates, numbers stored as text, inconsistent categories).
- Decide how to treat missing values and outliers, and write the decision down.
- Re-check totals against a trusted source before sharing results.
08
How do you explain a technical finding to a non-technical manager?
mediumbehaviouralIT servicesBanks & fintechWhat the interviewer is checking: Communication and business focus.
A strong answer covers
- Lead with the answer and what it means for the business.
- Use one clear chart instead of many.
- Give the recommended action and its expected impact.
- Keep method details ready in case they ask.
Also asked in every data analyst interview
- Tell me about yourself.
- Why do you want to work here?
- What is your greatest strength?
- What is your biggest weakness?
- Tell me about a time you disagreed with a teammate or manager.
- Tell me about a time you failed.
- Describe a time you worked under a tight deadline.
- Where do you see yourself in five years?
- What are your salary expectations?
- What is your notice period? Can you join early?
- Do you have any questions for us?
- Why are you leaving your current job?

