Top Data Analyst Interview Questions 2026
Updated 28 days ago ยท By SkillExchange Team
What does a data analyst do exactly? You clean data, build dashboards, uncover insights, and help businesses make smarter decisions. Interviews test your SQL prowess, Excel wizardry, and ability to tell stories with data. Expect questions on data analyst vs data scientist (you're more focused on analysis than building models), data analyst vs business analyst (you dive deeper into data), and data analyst vs data engineer (they handle pipelines, you analyze). Fresh from a data analyst bootcamp? Build a killer data analyst portfolio with real projects to stand out in data analyst jobs remote postings.
This guide dives into 18 practical data analyst interview questions, balanced for beginner, intermediate, and advanced levels. You'll get sample answers drawn from real-world scenarios at places like Mobileye or Truveta, plus tips to shine. Pair this with strong data analyst resume examples highlighting your data analyst requirements met, and you're set for data analyst career progression from entry level to freelance data analyst jobs. Let's get you interview-ready.
beginner Questions
What is the difference between a pivot table and a regular table in Excel?
beginnerExplain what SQL is and why it's essential for data analysts.
beginnerSELECT * FROM orders WHERE date > '2025-01-01', aggregating sales, or joining tables from marketing and sales for insights.How do you handle missing values in a dataset?
beginnerdf['column'].fillna(df['column'].median(), inplace=True). For categorical, mode or 'Unknown'. If it's a lot, I flag it for stakeholders. In a real retail dataset, I dropped rows with missing revenue only after confirming it didn't bias results.What is the difference between COUNT, COUNT(*), and COUNT(DISTINCT)?
beginnerCOUNT(email) ignores null emails, COUNT(*) counts all users, COUNT(DISTINCT city) gives unique cities.Describe a time you used Excel for data analysis.
beginnerWhat are primary and foreign keys in a database?
beginneruser_id in users table. It can't be null or duplicate. A foreign key in another table references the primary key, enforcing relationships, like order.user_id linking to users.user_id. This prevents orphans in joins.intermediate Questions
Write a SQL query to find the second highest salary in an employees table.
intermediateSELECT MAX(salary) AS second_highest
FROM employees
WHERE salary < (SELECT MAX(salary) FROM employees); This subquery finds the max, then the max below it. Handles ties by getting the second highest value.SELECT DISTINCT salary FROM (SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) as rnk FROM employees) WHERE rnk=2. Practice variations.How would you create a dashboard in Tableau for sales performance?
intermediate(SUM([Sales]) - LOOKUP(SUM([Sales]), -1)) / ABS(LOOKUP(SUM([Sales]), -1)). Add trend lines, maps. At Truveta, I built one showing regional KPIs updated daily.Explain INNER JOIN vs LEFT JOIN with an example.
intermediateSELECT u.name, o.amount FROM users u LEFT JOIN orders o ON u.id = o.user_id gets all users and their orders (null if none). Crucial for complete views in analysis.What is normalization in databases, and why do it?
intermediateHow do you perform a cohort analysis in Python?
intermediatecohort_data = df.groupby(['cohort_month', 'period'])['user_id'].nunique()
cohort_data = cohort_data.groupby(level=0).apply(lambda x: x / x.iloc[0]) Plot as heatmap. Used this for app retention at a fintech.Describe A/B testing and how you'd analyze results.
intermediatescipy.stats.ttest_ind(control, treatment). Check p-value <0.05. In e-commerce, I tested button colors, found 10% lift with 95% confidence.advanced Questions
How would you detect outliers in a dataset using Python?
advancedQ1 = df['col'].quantile(0.25)
Q3 = df['col'].quantile(0.75)
IQR = Q3 - Q1
outliers = df[(df['col'] < Q1 - 1.5*IQR) | (df['col'] > Q3 + 1.5*IQR)] Or Z-score >3. Visualize with boxplots.Explain window functions in SQL with an example.
advancedSELECT date, sales, SUM(sales) OVER (ORDER BY date ROWS UNBOUNDED PRECEDING) as running_total FROM sales. PARTITION BY for per-group. Used at Highspot for leaderboard rankings.How do you optimize a slow-running SQL query?
advanceduser_id, reduced 10min query to 5s at Array.What is ETL, and how have you implemented it?
advancedDesign a schema for a ride-sharing app like Uber.
advancedHow would you forecast sales using time series in Python?
advancedfrom prophet import Prophet
m = Prophet()
m.fit(df)
future = m.make_future_dataframe(periods=30)
forecast = m.predict(future) Check stationarity, decompose. Forecasted Q4 sales for Rightway, hit 92% accuracy.Preparation Tips
Build a data analyst portfolio with 3-5 projects showcasing SQL, Python, and Tableau. Include GitHub links on your resume for remote data analyst jobs.
Practice data analyst interview questions on LeetCode, StrataScratch, and mock interviews. Time yourself for SQL queries.
Tailor your data analyst resume examples to job descriptions, quantifying impacts like 'Reduced report time by 40%'.
Learn company-specific tools; research top companies like Mobileye or Truveta before interviews.
Prepare behavioral stories using STAR for data analyst career progression questions.
Common Mistakes to Avoid
Not explaining your thought process; always talk aloud during technical questions.
Forgetting edge cases in SQL, like NULLs or duplicates.
Over-relying on tools without understanding basics, e.g., memorizing without knowing why pivot tables work.
Ignoring business context; always tie analysis to impact.
Poor communication; practice explaining complex insights simply.
Related Skills
Top Companies Hiring Data Analyst Professionals
Explore More About Data Analyst
Frequently Asked Questions
What is the data analyst entry level salary in 2026?
Entry level data analyst salaries start around $27,000-$60,000 USD, with median at $112,193 overall. Seniors can hit $200,000 in high-demand remote data analyst jobs.
How do I prepare for data analyst bootcamp interviews?
Focus on basics: SQL selects/joins, Excel pivots, simple stats. Build quick projects for your portfolio.
Data analyst vs data scientist: key differences?
Data analysts focus on descriptive analytics and reporting; data scientists build predictive models and ML.
Are there many data analyst jobs remote available?
Yes, with 96 openings now at companies like Proxima and The Daily Wire, remote roles are plentiful.
How to stand out in senior data analyst interviews?
Demonstrate advanced SQL, forecasting, schema design, and business impact stories.
Ready to take the next step?
Find the best opportunities matching your skills.