Data Analyst Interview Resources
51.8K subscribers
338 photos
1 video
53 files
396 links
Join our telegram channel to learn how data analysis can reveal fascinating patterns, trends, and stories hidden within the numbers! ๐Ÿ“Š

For ads & suggestions: @love_data
Download Telegram
๐Ÿ“ข ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—”๐—น๐—ฒ๐—ฟ๐˜ โ€“ Data Analytics with Artificial Intelligence

Upgrade your career with AI-powered data science skills.
Open for all. No Coding Background Required

๐Ÿ“Š Learn Data Analytics with Artificial Intelligence from Scratch
๐Ÿค– AI Tools & Automation
๐Ÿ“ˆ Build real world Projects for job ready portfolio
๐ŸŽ“ E&ICT IIT Roorkee Certification Program

๐Ÿ”ฅDeadline :- 22nd March

๐—”๐—ฝ๐—ฝ๐—น๐˜† ๐—ก๐—ผ๐˜„ ๐Ÿ‘‡ :- 
https://pdlink.in/4tkErvS

Don't Miss This Opportunity. Get Placement Assistance With 5000+ Companies
โค1
๐Ÿง  SQL Interview Question (Moderateโ€“Tricky & Top Performer Analysis)
๐Ÿ“Œ

sales(region, salesperson_id, revenue)

โ“ Ques :

๐Ÿ‘‰ Find the top 2 highest revenue-generating salespersons in each region.

๐Ÿงฉ How Interviewers Expect You to Think

โ€ข Data is grouped by region ๐ŸŒ
โ€ข Need ranking within each group
โ€ข Handle ties carefully (RANK / DENSE_RANK)
โ€ข Filter top N per group

๐Ÿ’ก SQL Solution

SELECT region, salesperson_id, revenue
FROM (
SELECT
region,
salesperson_id,
revenue,
DENSE_RANK() OVER (PARTITION BY region ORDER BY revenue DESC) AS rnk
FROM sales
) t
WHERE rnk <= 2;

๐Ÿ”ฅ Why This Question Is Powerful

โ€ข Tests window functions (RANK / DENSE_RANK) ๐Ÿง 
โ€ข Very common in business reporting & leaderboards ๐Ÿ“Š
โ€ข Checks understanding of partitioning + ordering logic

โค๏ธ React if you want more such real interview-level SQL questions ๐Ÿš€
โค5๐Ÿ‘2
๐—ง๐—ผ๐—ฝ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—ง๐—ผ ๐—š๐—ฒ๐˜ ๐—›๐—ถ๐—ด๐—ต ๐—ฃ๐—ฎ๐˜†๐—ถ๐—ป๐—ด ๐—๐—ผ๐—ฏ ๐—œ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿ˜

๐ŸŒŸ 2000+ Students Placed
๐Ÿค 500+ Hiring Partners
๐Ÿ’ผ Avg. Rs. 7.4 LPA
๐Ÿš€ 41 LPA Highest Package

Fullstack :- https://pdlink.in/4hO7rWY

Data Analytics :- https://pdlink.in/4fdWxJB

๐Ÿ“ˆ Start learning today, build job-ready skills, and get placed in leading tech companies.
๐Ÿง  SQL Interview Question (Moderateโ€“Tricky & Duplicate Detection + Latest Record)
๐Ÿ“Œ

employees(emp_id, email, updated_at)

โ“ Ques :

๐Ÿ‘‰ Find duplicate emails, but return only the latest record for each duplicate email.

๐Ÿงฉ How Interviewers Expect You to Think

โ€ข Identify duplicates using COUNT() ๐Ÿ“Š
โ€ข Use window functions for ranking
โ€ข Partition by email
โ€ข Order by latest timestamp
โ€ข Filter only duplicates + latest row

๐Ÿ’ก SQL Solution

SELECT emp_id, email, updated_at
FROM (
SELECT
emp_id,
email,
updated_at,
COUNT(*) OVER (PARTITION BY email) AS cnt,
ROW_NUMBER() OVER (
PARTITION BY email
ORDER BY updated_at DESC
) AS rn
FROM employees
) t
WHERE cnt > 1
AND rn = 1;

๐Ÿ”ฅ Why This Question Is Powerful

โ€ข Tests window functions (COUNT OVER, ROW_NUMBER) ๐Ÿง 
โ€ข Combines deduplication + ranking logic
โ€ข Very common in data cleaning scenarios ๐Ÿงน
โ€ข Real-world use case: keeping latest user records

โค๏ธ React if you want more such real interview-level SQL questions ๐Ÿš€
โค5
๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€๐Ÿ˜

Kickstart Your Data Science Career In Top Tech Companies

๐Ÿ’ซLearn Tools, Skills & Mindset to Land your first Job
๐Ÿ’ซJoin this free Masterclass for an expert-led session on Data Science

Eligibility :- Students ,Freshers & Working Professionals

๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :- 

https://pdlink.in/4dLRDo6

( Limited Slots ..Hurry Up๐Ÿƒโ€โ™‚๏ธ )

Date & Time :- 26th March 2026 , 7:00 PM
โค1
๐Ÿ“ข ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—”๐—น๐—ฒ๐—ฟ๐˜ โ€“ ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—”๐—œ

(No Coding Background Required)

Freshers are getting paid 10 - 15 Lakhs by learning Data Analytics WIth AI skill

๐Ÿ“Š Learn Data Analytics from Scratch
๐Ÿ’ซ AI Tools & Automation
๐Ÿ“ˆ Build real world Projects for job ready portfolio 
๐ŸŽ“ E&ICT IIT Roorkee Certification Program

๐Ÿ”ฅDeadline :- 29th March

 ๐—”๐—ฝ๐—ฝ๐—น๐˜† ๐—ก๐—ผ๐˜„๐Ÿ‘‡ :- 

https://pdlink.in/41f0Vlr

Don't Miss This Opportunity. Get Placement Assistance With 5000+ Companies
Key Power BI Functions Every Analyst Should Master

DAX Functions:

1. CALCULATE():

Purpose: Modify context or filter data for calculations.

Example: CALCULATE(SUM(Sales[Amount]), Sales[Region] = "East")



2. SUM():

Purpose: Adds up column values.

Example: SUM(Sales[Amount])



3. AVERAGE():

Purpose: Calculates the mean of column values.

Example: AVERAGE(Sales[Amount])



4. RELATED():

Purpose: Fetch values from a related table.

Example: RELATED(Customers[Name])



5. FILTER():

Purpose: Create a subset of data for calculations.

Example: FILTER(Sales, Sales[Amount] > 100)



6. IF():

Purpose: Apply conditional logic.

Example: IF(Sales[Amount] > 1000, "High", "Low")



7. ALL():

Purpose: Removes filters to calculate totals.

Example: ALL(Sales[Region])



8. DISTINCT():

Purpose: Return unique values in a column.

Example: DISTINCT(Sales[Product])



9. RANKX():

Purpose: Rank values in a column.

Example: RANKX(ALL(Sales[Region]), SUM(Sales[Amount]))



10. FORMAT():

Purpose: Format numbers or dates as text.

Example: FORMAT(TODAY(), "MM/DD/YYYY")

You can refer these Power BI Interview Resources to learn more: https://whatsapp.com/channel/0029VaGgzAk72WTmQFERKh02

Like this post if you want me to continue this Power BI series ๐Ÿ‘โ™ฅ๏ธ

Share with credits: https://t.me/sqlspecialist

Hope it helps :)
โค5
๐ŸŽ“ ๐—ช๐—ฎ๐—ป๐˜ ๐˜๐—ผ ๐˜€๐˜๐—ฎ๐—ป๐—ฑ ๐—ผ๐˜‚๐˜ ๐—ถ๐—ป ๐—ฝ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐˜€ ?

Join our FREE live masterclasses and learn the skills recruiters actually look for.
- Excel for real business use
- Strategies to crack placements in 2026
- Prompt engineering for top jobs

๐Ÿ“… Live expert sessions | Limited seats

๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :- 

https://pdlink.in/47pYJLl

Date & Time :- 27th March 2026 , 6:00 PM
โœ… How to Grow Fast in Data Analytics ๐Ÿ“ˆ๐Ÿ’ผ

1๏ธโƒฃ Master Core Tools
- Excel: Pivot tables, lookups, charts
- SQL: Joins, aggregations, subqueries
- Power BI / Tableau: Dashboards, filters, visuals
- Python: pandas, matplotlib, seaborn for deeper analysis

2๏ธโƒฃ Learn Key Concepts
- Descriptive stats: mean, median, variance
- Data cleaning: missing values, outliers
- Visualization best practices
- Business KPIs and metrics (e.g., churn rate, CAC, ROI)

3๏ธโƒฃ Build Practical Projects
- Sales dashboard in Power BI
- SQL analysis of e-commerce data
- Python analysis of COVID-19 trends
- Excel-based budget tracker

4๏ธโƒฃ Share Your Work
- Post dashboards on LinkedIn
- Upload projects to GitHub
- Record quick YouTube explainers

5๏ธโƒฃ Join the Community
- LinkedIn groups, Reddit (r/dataisbeautiful), Kaggle
- Attend webinars, local meetups, analytics bootcamps

6๏ธโƒฃ Stay Current
- Follow Google Analytics, Microsoft BI, Mode
- Subscribe to newsletters: Data Elixir, Analytics Vidhya
- Learn new tools: Looker, BigQuery, Power Query

๐ŸŽฏ Practice daily. Improve weekly. Share monthly.

๐Ÿ’ฌ Tap โค๏ธ if this helped you!
โค6
๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ - ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—–๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—™๐—ฟ๐—ผ๐—บ ๐—œ๐—œ๐—ง ๐—”๐—น๐˜‚๐—บ๐—ป๐—ถ๐Ÿ”ฅ

๐Ÿ’ป Learn Frontend + Backend from scratch
๐Ÿ“‚ Build Real Projects (Portfolio Ready)

๐ŸŒŸ 2000+ Students Placed
๐Ÿค 500+ Hiring Partners
๐Ÿ’ผ Avg. Rs. 7.4 LPA
๐Ÿš€ 41 LPA Highest Package

๐Ÿ“ˆ Skills = Opportunities = High Salary

 ๐—”๐—ฝ๐—ฝ๐—น๐˜† ๐—ก๐—ผ๐˜„๐Ÿ‘‡:-

https://pdlink.in/4hO7rWY

๐Ÿ’ฅ Stop scrolling. Start building yourTech career
โค1
๐Ÿง  SQL Interview Question (Self Join + Salary Comparison)
๐Ÿ“Œ

employees(emp_id, manager_id, salary)

โ“ Ques :

๐Ÿ‘‰ Find employees whose salary is higher than their managerโ€™s salary.

๐Ÿงฉ How Interviewers Expect You to Think

โ€ข Understand hierarchical relationships ๐Ÿ‘ฅ
โ€ข Use self join on same table
โ€ข Compare values across related rows
โ€ข Handle NULL manager cases

๐Ÿ’ก SQL Solution

SELECT
e.emp_id,
e.salary AS emp_salary,
m.salary AS manager_salary
FROM employees e
JOIN employees m
ON e.manager_id = m.emp_id
WHERE e.salary > m.salary;

๐Ÿ”ฅ Why This Question Is Powerful

โ€ข Tests self join concept deeply ๐Ÿง 
โ€ข Real-world scenario in org hierarchy analysis
โ€ข Checks ability to compare across rows
โ€ข Frequently asked in interviews

โค๏ธ React if you want more real interview-level SQL questions ๐Ÿš€
โค2๐Ÿ‘2
Learn Ai in 2026 โ€”Absolutely FREE!๐Ÿš€

๐Ÿ’ธ Cost: ~โ‚น10,000~ โ‚น0 (FREE!)

What youโ€™ll learn:
โœ… 25+ Powerful AI Tools 
โœ… Crack Interviews with Ai 
โœ… Build Websites in seconds 
โœ… Make Videos  PPT 

Enroll Now (free): https://tinyurl.com/Free-Ai-Course-a

โš ๏ธ Register  Get Ai Certificate for resume
โค2
Data Analyst Interview Preparation Roadmap โœ…

Technical skills to revise

- SQL
Write queries from scratch.
Practice joins, group by, subqueries.
Handle duplicates and NULLs.
Window functions basics.

- Excel
Pivot tables without help.
XLOOKUP and IF confidently.
Data cleaning steps.

- Power BI or Tableau
Explain data model.
Write basic DAX.
Explain one dashboard end to end.

- Statistics
Mean vs median.
Standard deviation meaning.
Correlation vs causation.

- Python. If required
Pandas basics.
Groupby and filtering.

Interview question types

- SQL questions
Top N per group.
Running totals.
Duplicate records.
Date based queries.

- Business case questions
Why did sales drop.
Which metric matters most and why.

- Dashboard questions
Explain one KPI.
How users will use this report.

- Project questions
Data source.
Cleaning logic.
Key insight.
Business action.

Resume preparation
- Must have Tools section.
- One strong project.
- Metrics driven points.
Example: Improved reporting time by 30 percent using Power BI.

Mock interviews
- Practice explaining out loud.
- Time your answers.
- Use real datasets.

Daily prep plan
1 SQL problem.
1 dashboard review.
10 interview questions.

- Common mistakes
Memorizing queries.
No project explanation.
Weak business reasoning.

- Final task
- Prepare one project story.
- Prepare one SQL solution on paper.
- Prepare one business metric explanation.

Double Tap โ™ฅ๏ธ For More
โค3
๐Ÿง  SQL Interview Question (Products Frequently Bought Together)
๐Ÿ“Œ

order_items(order_id, product_id)

โ“ Ques :

๐Ÿ‘‰ Find pairs of products that are frequently bought together in the same order

๐Ÿ‘‰ Return product_id_1, product_id_2, pair_count

๐Ÿงฉ How Interviewers Expect You to Think

โ€ข Self-join on same order ๐Ÿ›’
โ€ข Avoid duplicate/reverse pairs
โ€ข Count frequency of each pair

๐Ÿ’ก SQL Solution

SELECT
o1.product_id AS product_id_1,
o2.product_id AS product_id_2,
COUNT(*) AS pair_count
FROM order_items o1
JOIN order_items o2
ON o1.order_id = o2.order_id
AND o1.product_id < o2.product_id
GROUP BY
o1.product_id,
o2.product_id
ORDER BY pair_count DESC;

๐Ÿ”ฅ Why This Question Is Powerful

โ€ข Classic market basket analysis ๐Ÿง 
โ€ข Tests self-join + combinations logic
โ€ข Frequently asked in e-commerce & analytics roles

โค๏ธ React for more SQL interview questions ๐Ÿš€
โค5
๐Ÿ“ข Advertising in this channel

You can place an ad via Telegaโ€คio. It takes just a few minutes.

Formats and current rates: View details
๐Ÿ”ฅ Top SQL Interview Questions with Answers

๐ŸŽฏ 1๏ธโƒฃ Find 2nd Highest Salary
๐Ÿ“Š Table: employees
id | name | salary
1 | Rahul | 50000
2 | Priya | 70000
3 | Amit | 60000
4 | Neha | 70000

โ“ Problem Statement: Find the second highest distinct salary from the employees table.

โœ… Solution
SELECT MAX(salary) FROM employees WHERE salary < ( SELECT MAX(salary) FROM employees );

๐ŸŽฏ 2๏ธโƒฃ Find Nth Highest Salary
๐Ÿ“Š Table: employees
id | name | salary
1 | A | 100
2 | B | 200
3 | C | 300
4 | D | 200

โ“ Problem Statement: Write a query to find the 3rd highest salary.

โœ… Solution
SELECT salary FROM ( SELECT salary, DENSE_RANK() OVER(ORDER BY salary DESC) r FROM employees ) t WHERE r = 3;

๐ŸŽฏ 3๏ธโƒฃ Find Duplicate Records
๐Ÿ“Š Table: employees
id | name
1 | Rahul
2 | Amit
3 | Rahul
4 | Neha

โ“ Problem Statement: Find all duplicate names in the employees table.

โœ… Solution
SELECT name, COUNT(*) FROM employees GROUP BY name HAVING COUNT(*) > 1;

๐ŸŽฏ 4๏ธโƒฃ Customers with No Orders
๐Ÿ“Š Table: customers
customer_id | name
1 | Rahul
2 | Priya
3 | Amit

๐Ÿ“Š Table: orders
order_id | customer_id
101 | 1
102 | 2

โ“ Problem Statement: Find customers who have not placed any orders.

โœ… Solution
SELECT c.name FROM customers c LEFT JOIN orders o ON c.customer_id = o.customer_id WHERE o.customer_id IS NULL;

๐ŸŽฏ 5๏ธโƒฃ Top 3 Salaries per Department
๐Ÿ“Š Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | IT | 150
D | HR | 120
E | HR | 180

โ“ Problem Statement: Find the top 3 highest salaries in each department.

โœ… Solution
SELECT * FROM ( SELECT name, department, salary, ROW_NUMBER() OVER( PARTITION BY department ORDER BY salary DESC ) r FROM employees ) t WHERE r <= 3;

๐ŸŽฏ 6๏ธโƒฃ Running Total of Sales
๐Ÿ“Š Table: sales
date | sales
2024-01-01 | 100
2024-01-02 | 200
2024-01-03 | 300

โ“ Problem Statement: Calculate the running total of sales by date.

โœ… Solution
SELECT date, sales, SUM(sales) OVER(ORDER BY date) AS running_total FROM sales;

๐ŸŽฏ 7๏ธโƒฃ Employees Above Average Salary
๐Ÿ“Š Table: employees
name | salary
A | 100
B | 200
C | 300

โ“ Problem Statement: Find employees earning more than the average salary.

โœ… Solution
SELECT name, salary FROM employees WHERE salary > ( SELECT AVG(salary) FROM employees );

๐ŸŽฏ 8๏ธโƒฃ Department with Highest Total Salary
๐Ÿ“Š Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | HR | 500

โ“ Problem Statement: Find the department with the highest total salary.

โœ… Solution
SELECT department, SUM(salary) AS total_salary FROM employees GROUP BY department ORDER BY total_salary DESC LIMIT 1;

๐ŸŽฏ 9๏ธโƒฃ Customers Who Placed Orders
๐Ÿ“Š Tables: Same as Q4
โ“ Problem Statement: Find customers who have placed at least one order.

โœ… Solution
SELECT name FROM customers c WHERE EXISTS ( SELECT 1 FROM orders o WHERE c.customer_id = o.customer_id );

๐ŸŽฏ ๐Ÿ”Ÿ Remove Duplicate Records
๐Ÿ“Š Table: employees
id | name
1 | Rahul
2 | Rahul
3 | Amit

โ“ Problem Statement: Delete duplicate records but keep one unique record.

โœ… Solution
DELETE FROM employees WHERE id NOT IN ( SELECT MIN(id) FROM employees GROUP BY name );

๐Ÿš€ Pro Tip:
๐Ÿ‘‰ In interviews:
First explain logic
Then write query
Then optimize

Double Tap โ™ฅ๏ธ For More
โค4