Home Page

Data Analyst Interview — Free SQL, Python & Case Study Prep
FREE No sign-up. No paywall.

Everything you need to crack the data analyst interview

Real SQL, Python and business case-study questions, worked solutions, and a structured 8-week roadmap — all open and free to use.

Built and maintained by a working data engineer.
PARTITION BY region df.groupby(‘city’) DENSE_RANK()
interview_question.sql
— 2nd highest revenue customer per region
SELECT region, customer_id, revenue
FROM (
  SELECT *, DENSE_RANK() OVER (
    PARTITION BY region ORDER BY revenue DESC) AS rnk
  FROM sales) t WHERE rnk = 2;
3 rows returned
regioncustomer_idrevenue
NorthC-104384,200
SouthC-227077,600
WestC-091869,300
🔓
100% FreeNo sign-up, no paywall
🗄️
SQL · Python · CasesEvery interview round
🗓️
8-week roadmapA clear path to follow
🔄
Updated for 2026New questions added
Topic breakdown

What you’ll actually be asked

The core topics mapped by difficulty, so you know where to spend your time.

🗄️ SQL

SQL Interview Topics

Six core areas that come up in most data analyst SQL rounds.

SELECT, WHERE, GROUP BY basicsEasy
JOINs — INNER, LEFT, RIGHT, FULLEasy
Subqueries & CTEsMedium
Window functions (RANK, LAG, LEAD)Hard
Date & string manipulationMedium
Complex multi-table scenariosHard
🐍 Python

Python Interview Topics

The libraries and workflows tested in Python analytics rounds.

Pandas — groupby, merge, pivotMedium
NumPy — arrays & statisticsEasy
Data cleaning & EDA workflowMedium
Matplotlib & Seaborn chartsEasy
List comprehensions & lambdasMedium
End-to-end analysis problemHard
Sample questions

Practice with real interview-style questions

A taste of the question bank — grouped by round and difficulty. Full worked solutions live inside each topic guide.

01
Find the second highest salary from the Employee table without using LIMIT.
SubqueriesEasy
02
Find customers who placed an order in January 2024 but not in February 2024.
Joins + date filteringMedium
03
For each department, return the employee with the highest salary using window functions only.
Window functionsMedium
04
Calculate the 7-day rolling average of daily active users for each product.
Window functions + CTEsHard
05
Find users who logged in on 3 or more consecutive days in the last 30 days.
Self joins + date logicHard
Prep timeline

An 8-week roadmap you can actually follow

A week-by-week path from the basics to interview-ready. Move faster if you already know the fundamentals.

Week1–2

SQL foundations

Master SELECT, GROUP BY, HAVING, JOINs and subqueries. Work through easy and medium SQL questions until they feel routine.

SELECT basicsAll JOIN typesAggregationsSubqueries
Week3–4

Advanced SQL + Python basics

Window functions, CTEs and complex queries. Start Python with Pandas DataFrames, filtering and groupby, then complete a first end-to-end analysis.

Window functionsCTEsPandasEDA project
Week5–6

Case studies + metrics

Business case frameworks, metric design, A/B testing and funnel analysis. Practise talking through your reasoning out loud.

Case frameworksKPI designA/B testingFunnels
Week7–8

Full practice + storytelling

Time yourself on mixed question sets covering all rounds. Polish your resume, prepare behavioural answers, and fix any remaining gaps.

Mixed setsResume reviewBehavioural prepInterview ready ✓
FAQ

Questions, answered

Is everything really free?

+

Yes. The topic guides, question bank, worked solutions and the 8-week roadmap are all open — no account, email or payment required. The site is supported by ads, not paywalls.

Do I need coding experience to start?

+

No. The SQL and Python tracks start from the absolute basics and build up gradually, so you can begin with zero prior coding knowledge and still follow along.

How long does it take to get interview-ready?

+

The roadmap is designed around eight focused weeks. If you already know the fundamentals of SQL or Python you can move through it faster — the point is to have a clear order to study in rather than a fixed deadline.

Are these the exact questions companies ask?

+

They’re modelled on the style and difficulty of questions common in data analyst interviews. The goal is to build the underlying skill so you can handle any variation, rather than memorising a specific list.

Is this suitable for career switchers?

+

Absolutely. The material assumes no analytics background, and the roadmap gives switchers from other fields a structured, step-by-step way to build the skills interviews test for.

How often is the content updated?

+

New questions and guides are added regularly, and existing content is reviewed to keep it current with what analyst interviews look like in 2026.

Start preparing today — for free

Pick a track, work through the questions, and follow the roadmap. No sign-up needed.