Data analyst interview questions

Data analyst interview questions and answers

Data analyst interviews test SQL above everything, then Excel and a BI tool, then whether you can turn numbers into a business answer. These are the questions asked most, with what each one checks.

What to revise before the interview

  • SQL: joins, GROUP BY, HAVING, subqueries, CTEs
  • Window functions: ROW_NUMBER, RANK, running totals
  • Excel: VLOOKUP/XLOOKUP, pivot tables, IF and SUMIFS
  • A BI tool: Power BI (DAX basics) or Tableau
  • Statistics: mean vs median, distributions, correlation
  • Data cleaning: missing values, duplicates, outliers
  • Metrics: conversion, retention, churn
  • Presenting a finding to non-technical people
  1. 1.What is the difference between INNER JOIN and LEFT JOIN?

    What they're checking
    The most basic SQL check.
    How to answer
    INNER JOIN keeps only rows that match in both tables; LEFT JOIN keeps every row from the left table, with NULLs where there's no match. Give an example: all customers, including those with no orders.
  2. 2.WHERE vs HAVING?

    What they're checking
    Understanding the order of a SQL query.
    How to answer
    WHERE filters rows before grouping; HAVING filters groups after aggregation - for example HAVING COUNT(*) > 5.
  3. 3.Write a query for the second-highest salary.

    What they're checking
    A classic that checks subqueries or window functions.
    How to answer
    Use DENSE_RANK() OVER (ORDER BY salary DESC) and pick rank 2, or SELECT MAX(salary) WHERE salary < (SELECT MAX(salary)). Mention how each handles ties.
  4. 4.What are window functions? Give a use case.

    What they're checking
    A key skill separating strong candidates.
    How to answer
    They compute across related rows without collapsing them - running totals, ranking within a group, comparing with the previous month using LAG().
  5. 5.How do you handle missing data?

    What they're checking
    Real-world data judgement.
    How to answer
    First find out why it's missing. Then remove rows if few and random, fill with a sensible value (median, previous value) if justified, or flag it. Always say what you did in your analysis.
  6. 6.Mean or median - which would you report for salaries?

    What they're checking
    Statistics with business sense.
    How to answer
    Median, because a few very high salaries pull the mean up. Use the mean when the data is roughly symmetric.
  7. 7.How would you build a pivot table to show sales by region and month?

    What they're checking
    Everyday Excel skill.
    How to answer
    Region in rows, month in columns, sum of sales in values; add a filter for product. Mention XLOOKUP or VLOOKUP to bring in data from another sheet first.
  8. 8.Sales dropped 15% last month. How would you investigate?

    What they're checking
    Analytical thinking - the heart of the job.
    How to answer
    Confirm the data is right, then break the drop down: by region, product, channel, new vs returning customers. Check external causes (season, pricing changes, outages) and present the biggest driver with evidence.
    Example answer
    “I'd first check the tracking didn't break. Then I'd split the drop by channel and region; if one channel explains most of it, I'd look at what changed there - a campaign ending, a price change or a site issue - and bring the top two causes with numbers to the team.”
  9. 9.Which charts would you use to show a trend, a comparison and a share?

    What they're checking
    Communication through visuals.
    How to answer
    Line chart for trends over time, bar chart for comparing categories, and a stacked bar or (sparingly) a pie for shares. Avoid 3D charts and cluttered dashboards.
  10. 10.Tell me about an analysis that changed a decision.

    What they're checking
    Impact, not just technical skill.
    How to answer
    Describe the question, the data and method, the finding and what the business did. Freshers can use a college or Kaggle project and explain the conclusion clearly.

On a live call, Cuelyte AI hears questions like these and has an answer ready in about a second, built from your resume and notes. Coding interviews: how Cuelyte AI helps

Frequently asked questions

What skills are needed for a data analyst job?

Strong SQL, Excel, one BI tool such as Power BI or Tableau, basic statistics and the ability to explain findings simply. Python is a plus for many roles.

Can a fresher get a data analyst job?

Yes. Build two or three projects with real datasets, publish dashboards, and practise SQL interview questions until joins and window functions feel easy.

Is Python required for data analyst interviews?

Not always. SQL and Excel are essential; Python with pandas is asked at many product and analytics companies.

Company interview guides for this role

Related roles and topics

Practise these questions for your next interview

Add your resume to Cuelyte AI, type a question and get a clear answer in your own words - in English, Hindi or Hinglish. Free to start.