InterviewPrepInterviewPrep· Job Insights

Data Analyst technical round practice: SQL, Excel and metrics

You have a Data Analyst technical round coming up and you want to know exactly what gets tested rather than a generic checklist. This round is where SQL, spreadsheet modelling and business-metric reasoning are probed live. Below is how the round is usually structured, the question types that recur, worked examples of strong and weak answers, and how to rehearse under pressure.

Start a free mock interview →

What the technical round actually tests

The Data Analyst technical round is rarely about writing perfect syntax from memory. Interviewers are checking whether you can turn a vague business question into a precise query and defend your logic out loud. Expect three overlapping themes.

  • SQL fluency: multi-table joins, GROUP BY with HAVING, subqueries, and window functions such as ROW_NUMBER() and RANK().
  • Data manipulation: cleaning messy data, handling NULLs, deduplication, and pivoting long-to-wide.
  • Metric definition: being handed a term like 'active user' or 'churn' and being asked to define it unambiguously before you query it.

Many rounds are conducted on a shared screen or a browser SQL editor, so interviewers watch how you think, not just the final output.

Question archetypes you should rehearse

A handful of patterns cover most technical rounds. Practising these families is more efficient than grinding random problems. Most Data Analyst / Data Science Jobs at Indian product firms recycle the same three archetypes below, so pattern-matching pays off.

Ranking and top-N per group

'Return the top 3 products by revenue in each category.' This tests window functions. A strong answer uses ROW_NUMBER() OVER (PARTITION BY category ORDER BY revenue DESC) and filters in an outer query. A weak answer tries to force it with a correlated subquery and gets tangled on ties.

Second-highest / gaps

'Find the second-highest salary per department without using LIMIT.' Interviewers watch whether you handle duplicate salaries correctly using DENSE_RANK().

Cohort and retention counts

'How many users who signed up in January were still active in March?' This needs a self-join or conditional aggregation on date-bucketed data.

A worked example: strong vs weak

Question: 'From an orders table, show each customer's total spend and their rank among all customers.'

Strong answer: The candidate first clarifies whether cancelled orders count, then writes SELECT customer_id, SUM(amount) AS spend, RANK() OVER (ORDER BY SUM(amount) DESC) AS spend_rank FROM orders WHERE status = 'completed' GROUP BY customer_id. They explain why RANK over ROW_NUMBER matters for ties and mention indexing if the table is large.

Weak answer: The candidate jumps straight in, forgets the status filter, uses ORDER BY without a window function, and cannot explain how ties are broken. The logic may still return rows, but it silently answers a different question. Interviewers care far more about the clarifying step and the tie-handling than about typing speed.

A four-week practice plan

Structure your prep so the round feels familiar rather than novel.

  • Week 1: Rebuild core SQL from joins to GROUP BY; write every query out loud, narrating each clause.
  • Week 2: Drill window functions and date logic until top-N-per-group is automatic.
  • Week 3: Add Excel/Google Sheets modelling, VLOOKUP/XLOOKUP, pivot tables, and simple what-if models.
  • Week 4: Do full timed mocks, speaking your reasoning while you type.

Because this round is spoken as much as written, a free AI voice mock interview on InterviewPrep is a natural rehearsal: it builds a mock from your CV and a real job description, then scores your answers, pace and filler words so you hear where you ramble under pressure.

Frequently asked

How much SQL do I need for a Data Analyst technical round?
You should be comfortable with joins, aggregation, subqueries and window functions such as ROW_NUMBER and RANK. Perfect memorisation of rare functions is less important than clean, explainable logic and asking clarifying questions before you write anything.
Do they let me look up syntax during the round?
It varies. Many interviewers allow occasional lookups because they care about your reasoning, not recall. State your intent aloud so even if you fumble a keyword, they can see the logic is correct and follow your thinking.
Will the round include Excel as well as SQL?
Often yes, especially for business-facing analyst roles. Expect pivot tables, lookups and a small modelling task. Practise turning a raw sheet into a summarised view quickly, and be ready to explain your formula choices.
What is the most common mistake candidates make?
Jumping into a query before defining the metric. Ambiguous terms like active user or revenue need one clear definition first. Candidates who clarify assumptions typically score higher even when their syntax has small slips.
How do I practise thinking out loud?
Narrate every clause as you write it, as if teaching a colleague. Record yourself or use a voice mock so you can hear filler words and hesitation, then rework the parts where your explanation went quiet or vague.
Where are most Data Analyst openings posted?
Analytics roles usually appear on Naukri Jobs and LinkedIn first, so a saved search filtering for SQL, Python and dashboarding skills is the quickest way to catch new listings before they close.

Related prep

Data Analyst Case Study Round Practice · Data Analyst Hr Round Practice · Software Engineer Technical Round Practice · Software Engineer System Design Interview Practice

Reading about it isn't practice.

Run a real AI mock interview built from your CV and a live job description — scored feedback on your answers, pace and filler words.

Start your free mock interview →