Data analyst interview questions usually fall into five groups: SQL, Excel, statistics, case studies and behavioural questions. Prepare a clear answer for each of the fifteen below and you will walk in ready for most entry-level and mid-level interviews.

SQL data analyst interview questions
1. What is the difference between WHERE and HAVING?
WHERE filters rows before grouping; HAVING filters groups after GROUP BY. “Show branches with total sales above ₦1m” needs HAVING.
2. Explain INNER JOIN vs LEFT JOIN.
INNER JOIN keeps only rows that match in both tables. LEFT JOIN keeps every row from the left table and fills missing matches with NULL. Use LEFT JOIN when you must not lose records, such as customers with no orders.
3. How would you find duplicate records?
Group by the columns that should be unique and keep groups with COUNT(*) > 1. Our SQL for beginners guide covers GROUP BY and HAVING.
4. How do you rank rows within a group?
With window functions: ROW_NUMBER(), RANK() or DENSE_RANK() OVER (PARTITION BY … ORDER BY …). See SQL window functions.
Excel questions
5. VLOOKUP or XLOOKUP?
XLOOKUP for new work: exact match by default, looks left, and survives inserted columns. VLOOKUP for compatibility with older Excel. Our VLOOKUP vs XLOOKUP guide explains the differences.
6. How would you summarise 50,000 rows of sales by month and branch?
Convert the range to a Table, then build a pivot table with dates grouped by month in rows and branch in columns.
Statistics questions
7. Mean or median?
Use the median when data is skewed or has outliers, such as salaries or order values; use the mean when data is roughly symmetrical.
8. What does correlation tell you?
How strongly two variables move together, from -1 to 1. It does not prove that one causes the other.
9. What is a p-value?
Roughly, the probability of seeing results at least as extreme as yours if there were really no effect. A small p-value suggests the effect is unlikely to be chance alone. See statistics for data analysis.
Case questions
10. Sales dropped 15% last month. How would you investigate?
Check the data first (missing days, a broken pipeline). Then break the drop down by branch, product, channel and customer type to find where it happened, compare with seasonality, and ask the business about price changes, stock-outs or promotions.
11. How would you measure the success of a new mobile app feature?
Agree the goal first (more transactions, retention, fewer support calls), pick one main metric and a few guardrail metrics, and compare users with and without the feature, ideally in an A/B test.
12. What makes a good dashboard?
It answers specific questions for a specific audience, shows the most important number first, uses simple charts and is updated reliably.
Behavioural questions
13. Tell me about a project you’re proud of.
Use STAR: Situation, Task, Action, Result. Pick a portfolio project and end with the result in numbers.
14. Tell me about a time you found an error in data.
Explain how you spotted it, how you confirmed it, who you told and how you prevented it happening again.
15. How do you explain technical findings to non-technical people?
Lead with the answer, use one simple chart, avoid jargon and finish with a recommendation.
How to prepare in one week
| Day | Focus |
|---|---|
| 1–2 | Write and run SQL for questions 1–4 |
| 3 | Excel: pivot tables and lookups |
| 4 | Statistics answers out loud |
| 5 | Two case questions on paper |
| 6 | STAR stories for three projects |
| 7 | A mock interview with a friend or mentor |
Mock interviews make a big difference. Datamac learners get live technical mock interviews as part of the data analytics internship. For behavioural questions, read up on the STAR method.
FAQs
Will I get a take-home test?
Often, yes: usually an Excel or SQL task with a short presentation. Keep it simple and explain your assumptions.
What if I don’t know an answer?
Say so, then explain how you would find out. Honesty and a clear approach beat guessing.
How technical are entry-level interviews?
Expect basic SQL and Excel, simple statistics, and questions about your projects.
Keep reading
- How to Become a Data Analyst in Nigeria With No Experience
- VLOOKUP vs XLOOKUP: Which Should You Use in 2026?
- Power BI vs Tableau for the Nigerian Job Market
Learn this live with Datamac
Datamac’s 12-month data analytics internship teaches Excel, SQL, Python, Power BI, Tableau and machine learning in live online classes twice a week, with real Nigerian datasets, two capstones and career support.
Apply for the internship · Compare courses · Ask a question on WhatsApp

