๐ฏ ๐ DATA ANALYST MOCK INTERVIEW (WITH ANSWERS)
๐ง 1๏ธโฃ Tell me about yourself
โ
Sample Answer:
โI have around 3 years of experience working with data. My core skills include SQL, Excel, and Power BI. I regularly work with data cleaning, transformation, and building dashboards to generate business insights. Recently, Iโve also been strengthening my Python skills for data analysis. I enjoy solving business problems using data and presenting insights in a simple and actionable way.โ
๐ 2๏ธโฃ What is the difference between WHERE and HAVING?
โ
Answer:
WHERE filters rows before aggregation
HAVING filters after aggregation
Example:
SELECT department, COUNT(*)
FROM employees
GROUP BY department
HAVING COUNT(*) > 5;
๐ 3๏ธโฃ Explain different types of JOINs
โ
Answer:
INNER JOIN โ only matching records
LEFT JOIN โ all left + matching right
RIGHT JOIN โ all right + matching left
FULL JOIN โ all records from both
๐ In analytics, LEFT JOIN is most used.
๐ง 4๏ธโฃ How do you find duplicate records in SQL?
โ
Answer:
SELECT column, COUNT(*)
FROM table
GROUP BY column
HAVING COUNT(*) > 1;
๐ Used for data cleaning.
๐ 5๏ธโฃ What are window functions?
โ
Answer:
โWindow functions perform calculations across rows without reducing the number of rows. They are used for ranking, running totals, and comparisons.โ
Example:
SELECT salary, RANK() OVER(ORDER BY salary DESC)
FROM employees;
๐ 6๏ธโฃ How do you handle missing data?
โ
Answer:
Remove rows (if small impact)
Replace with mean/median
Use default values
Use interpolation (advanced)
๐ Depends on business context.
๐ 7๏ธโฃ What is the difference between COUNT(_) and COUNT(column)?
โ
Answer:
COUNT(*) โ counts all rows
COUNT(column) โ ignores NULL values
๐ 8๏ธโฃ What is a KPI? Give example
โ
Answer:
โKPI (Key Performance Indicator) is a measurable value used to track performance.โ
Examples: Revenue growth, Conversion rate, Customer retention
๐ง 9๏ธโฃ How would you find the 2nd highest salary?
โ
Answer:
SELECT MAX(salary)
FROM employees
WHERE salary < ( SELECT MAX(salary) FROM employees );
๐ ๐ Explain your dashboard project
โ
Strong Answer:
โI created a sales dashboard in Power BI where I analyzed revenue trends, top-performing products, and regional performance. I used DAX for calculations and added filters for better interactivity. This helped stakeholders identify key areas for growth.โ
๐ฅ 1๏ธโฃ1๏ธโฃ What is normalization?
โ
Answer:
โNormalization is the process of organizing data to reduce redundancy and improve data integrity.โ
๐ 1๏ธโฃ2๏ธโฃ Difference between INNER JOIN and LEFT JOIN?
โ
Answer:
INNER JOIN โ only matching data
LEFT JOIN โ keeps all left table data
๐ LEFT JOIN is preferred in analytics.
๐ง 1๏ธโฃ3๏ธโฃ What is a CTE?
โ
Answer:
โA CTE (Common Table Expression) is a temporary result set defined using WITH clause to improve readability.โ
๐ 1๏ธโฃ4๏ธโฃ How do you explain insights to non-technical people?
โ
Answer:
โI focus on storytelling. Instead of technical terms, I explain insights in simple business language with visuals and examples.โ
๐ 1๏ธโฃ5๏ธโฃ What tools have you used?
โ
Answer:
SQL, Excel, Power BI, Python (basic/advanced depending on you)
๐ผ 1๏ธโฃ6๏ธโฃ Behavioral Question: Tell me about a challenge
โ
Answer:
โWhile working on a dataset, I found inconsistencies in data. I cleaned and standardized it using SQL and Excel, ensuring accurate analysis. This improved the dashboard reliability.โ
Double Tap โฅ๏ธ For More
Post #2669
8.04K
- โค 31
- ๐ฅ 4
- ๐ 1