"After identifying duplicates, I investigate whether they are genuine duplicate records or legitimate repeated transactions before removing anything."
8️⃣ What is an outlier? How would you handle it?
Sample Answer:
"An outlier is a value that is significantly different from the typical observations in a dataset.
I wouldn't automatically remove an outlier. First, I would investigate whether it represents a data-quality issue or a genuine business event.
For example, a transaction worth ₹10 million might initially look like an outlier, but it could be a legitimate high-value transaction. If it is a data-entry error, I would correct or exclude it according to the business rules."
9️⃣ What is the difference between a dimension and a measure?
Sample Answer:
"A dimension is generally used to categorize or describe data, while a measure is a numerical value that can usually be aggregated.
For example, in a sales dataset:
Dimensions: Customer, Product, Region, Date
Measures: Sales Amount, Quantity, Profit, Discount
In a dashboard, dimensions are commonly used to slice or group the data, while measures are used to calculate KPIs and metrics."
🔟 What steps do you follow when solving a data analysis problem?
Sample Answer:
"I generally follow a structured approach:
1. Understand the business problem.
2. Define the required metrics and success criteria.
3. Identify the relevant data sources.
4. Extract and validate the data.
5. Clean and transform the data.
6. Perform exploratory analysis.
7. Identify trends, patterns, and anomalies.
8. Validate the results.
9. Communicate the insights using appropriate visualizations.
10. Recommend actions based on the findings.
The most important step is understanding the business question first, because technically correct analysis can still be useless if it doesn't answer the actual business problem."
📌 Double Tap ❤️ For Part-2
8️⃣ What is an outlier? How would you handle it?
Sample Answer:
"An outlier is a value that is significantly different from the typical observations in a dataset.
I wouldn't automatically remove an outlier. First, I would investigate whether it represents a data-quality issue or a genuine business event.
For example, a transaction worth ₹10 million might initially look like an outlier, but it could be a legitimate high-value transaction. If it is a data-entry error, I would correct or exclude it according to the business rules."
9️⃣ What is the difference between a dimension and a measure?
Sample Answer:
"A dimension is generally used to categorize or describe data, while a measure is a numerical value that can usually be aggregated.
For example, in a sales dataset:
Dimensions: Customer, Product, Region, Date
Measures: Sales Amount, Quantity, Profit, Discount
In a dashboard, dimensions are commonly used to slice or group the data, while measures are used to calculate KPIs and metrics."
🔟 What steps do you follow when solving a data analysis problem?
Sample Answer:
"I generally follow a structured approach:
1. Understand the business problem.
2. Define the required metrics and success criteria.
3. Identify the relevant data sources.
4. Extract and validate the data.
5. Clean and transform the data.
6. Perform exploratory analysis.
7. Identify trends, patterns, and anomalies.
8. Validate the results.
9. Communicate the insights using appropriate visualizations.
10. Recommend actions based on the findings.
The most important step is understanding the business question first, because technically correct analysis can still be useless if it doesn't answer the actual business problem."
📌 Double Tap ❤️ For Part-2
❤13
𝗙𝗥𝗘𝗘 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀 𝗧𝗼 𝗟𝗲𝗮𝗿𝗻 𝗔𝗜 𝗶𝗻 𝟮𝟬𝟮𝟲🚀
Explore 6 free resources covering AI fundamentals, tools, deep learning, research and real-world applications.
✅ 100% Free Learning
✅ Beginner-Friendly
✅ AI • ML • Deep Learning
✅ Real-World Applications
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4AFHq5R
📢 Share this valuable opportunity with your friends and classmates!
Explore 6 free resources covering AI fundamentals, tools, deep learning, research and real-world applications.
✅ 100% Free Learning
✅ Beginner-Friendly
✅ AI • ML • Deep Learning
✅ Real-World Applications
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4AFHq5R
📢 Share this valuable opportunity with your friends and classmates!
❤2
📊 Data Analyst Interview Series — Part 2
Guys, let's continue our Data Analyst Interview Series.
In Part 2, let's move into some important SQL and data-related interview questions that are frequently tested in Data Analyst interviews. 👇
1️⃣ What is SQL and why is it important for a Data Analyst?
Sample Answer:
"SQL stands for Structured Query Language. It is used to interact with relational databases. As a Data Analyst, I use SQL to retrieve, filter, join, aggregate, and analyze data. It is important because a large amount of business data is stored in databases, and SQL allows analysts to efficiently extract the data required for analysis."
2️⃣ What is the difference between WHERE and HAVING?
Sample Answer:
"WHERE filters individual rows before aggregation, whereas HAVING filters groups after aggregation.
For example, if I want to find customers whose total sales exceed ₹1 lakh, I would use HAVING because the condition is applied to an aggregated result."
3️⃣ What is the difference between INNER JOIN and LEFT JOIN?
Sample Answer:
"An INNER JOIN returns only the records that have matching values in both tables.
A LEFT JOIN returns all records from the left table and the matching records from the right table. If there is no match, the columns from the right table contain NULL."
For example, if I want all customers, including customers who haven't placed any orders, I would use a LEFT JOIN.
4️⃣ What is a primary key?
Sample Answer:
"A primary key is a column or combination of columns that uniquely identifies each record in a table. It must contain unique values and cannot contain NULL values.
For example, Customer_ID can be a primary key in a Customer table if every customer has a unique ID."
5️⃣ What is a foreign key?
Sample Answer:
"A foreign key is a column that references a primary key or another unique key in another table. It establishes a relationship between tables.
For example, Customer_ID in an Orders table can reference Customer_ID in the Customers table."
6️⃣ What is the difference between UNION and UNION ALL?
Sample Answer:
"Both are used to combine the results of two or more SELECT statements.
UNION removes duplicate records from the combined result, while UNION ALL retains duplicates.
Because UNION performs duplicate elimination, UNION ALL can generally be faster when duplicate removal isn't required."
7️⃣ What is a NULL value in SQL?
Sample Answer:
"NULL represents a missing, unknown, or unavailable value. It is different from zero, an empty string, or a blank value.
We should use IS NULL or IS NOT NULL to check for NULL values rather than using an equals operator."
8️⃣ What is GROUP BY used for?
Sample Answer:
"GROUP BY is used to group rows that have the same values in one or more columns so that aggregate functions can be applied to each group.
For example, to calculate total sales by region:"
9️⃣ What are aggregate functions in SQL?
Sample Answer:
"Aggregate functions perform calculations on multiple rows and return a single result for each group.
Common aggregate functions include:"
• COUNT() — counts records
• SUM() — calculates the total
• AVG() — calculates the average
• MIN() — finds the minimum value
• MAX() — finds the maximum value
For example:
Guys, let's continue our Data Analyst Interview Series.
In Part 2, let's move into some important SQL and data-related interview questions that are frequently tested in Data Analyst interviews. 👇
1️⃣ What is SQL and why is it important for a Data Analyst?
Sample Answer:
"SQL stands for Structured Query Language. It is used to interact with relational databases. As a Data Analyst, I use SQL to retrieve, filter, join, aggregate, and analyze data. It is important because a large amount of business data is stored in databases, and SQL allows analysts to efficiently extract the data required for analysis."
2️⃣ What is the difference between WHERE and HAVING?
Sample Answer:
"WHERE filters individual rows before aggregation, whereas HAVING filters groups after aggregation.
For example, if I want to find customers whose total sales exceed ₹1 lakh, I would use HAVING because the condition is applied to an aggregated result."
SELECT Customer_ID, SUM(Sales) AS Total_Sales
FROM Sales
GROUP BY Customer_ID
HAVING SUM(Sales) > 100000;
3️⃣ What is the difference between INNER JOIN and LEFT JOIN?
Sample Answer:
"An INNER JOIN returns only the records that have matching values in both tables.
A LEFT JOIN returns all records from the left table and the matching records from the right table. If there is no match, the columns from the right table contain NULL."
For example, if I want all customers, including customers who haven't placed any orders, I would use a LEFT JOIN.
4️⃣ What is a primary key?
Sample Answer:
"A primary key is a column or combination of columns that uniquely identifies each record in a table. It must contain unique values and cannot contain NULL values.
For example, Customer_ID can be a primary key in a Customer table if every customer has a unique ID."
5️⃣ What is a foreign key?
Sample Answer:
"A foreign key is a column that references a primary key or another unique key in another table. It establishes a relationship between tables.
For example, Customer_ID in an Orders table can reference Customer_ID in the Customers table."
6️⃣ What is the difference between UNION and UNION ALL?
Sample Answer:
"Both are used to combine the results of two or more SELECT statements.
UNION removes duplicate records from the combined result, while UNION ALL retains duplicates.
Because UNION performs duplicate elimination, UNION ALL can generally be faster when duplicate removal isn't required."
7️⃣ What is a NULL value in SQL?
Sample Answer:
"NULL represents a missing, unknown, or unavailable value. It is different from zero, an empty string, or a blank value.
We should use IS NULL or IS NOT NULL to check for NULL values rather than using an equals operator."
SELECT *
FROM Customers
WHERE Email IS NULL;
8️⃣ What is GROUP BY used for?
Sample Answer:
"GROUP BY is used to group rows that have the same values in one or more columns so that aggregate functions can be applied to each group.
For example, to calculate total sales by region:"
SELECT Region, SUM(Sales) AS Total_Sales
FROM Sales
GROUP BY Region;
9️⃣ What are aggregate functions in SQL?
Sample Answer:
"Aggregate functions perform calculations on multiple rows and return a single result for each group.
Common aggregate functions include:"
• COUNT() — counts records
• SUM() — calculates the total
• AVG() — calculates the average
• MIN() — finds the minimum value
• MAX() — finds the maximum value
For example:
SELECT
COUNT(*) AS Total_Orders,
SUM(Sales) AS Total_Sales,
AVG(Sales) AS Average_Sales
FROM Sales;
❤6
🔟 How would you find duplicate records in SQL?
Sample Answer:
"I would first identify the column or combination of columns that should uniquely identify a record. Then I would use GROUP BY and HAVING COUNT(*) > 1."
"This identifies Customer_ID values that appear more than once. I would then investigate whether those records are genuine duplicates before taking any corrective action."
📌 Double Tap ❤️ For Part-3
Sample Answer:
"I would first identify the column or combination of columns that should uniquely identify a record. Then I would use GROUP BY and HAVING COUNT(*) > 1."
SELECT Customer_ID, COUNT(*) AS Count_Records
FROM Customers
GROUP BY Customer_ID
HAVING COUNT(*) > 1;
"This identifies Customer_ID values that appear more than once. I would then investigate whether those records are genuine duplicates before taking any corrective action."
📌 Double Tap ❤️ For Part-3
❤16
📊 Data Analyst Interview Series — Part 3
Guys, let's continue our Data Analyst Interview Series.
Today, let's cover 10 important SQL interview questions that test your practical SQL knowledge. 👇
1️⃣ What is a subquery in SQL?
Sample Answer:
“A subquery is a query written inside another SQL query. It can be used to retrieve intermediate results that are then used by the outer query.
For example, to find employees whose salary is greater than the average salary:”
2️⃣ What is a CTE?
Sample Answer:
“CTE stands for Common Table Expression. It allows us to define a temporary named result set using the WITH clause, which can then be referenced within the main query.
CTEs make complex queries easier to read, maintain, and debug.”
3️⃣ What is a window function?
Sample Answer:
“A window function performs a calculation across a set of related rows while still retaining the individual rows in the result.
Unlike GROUP BY, it does not collapse multiple rows into a single row.
Common window functions include ROW_NUMBER(), RANK(), DENSE_RANK(), LAG(), and LEAD().”
4️⃣ What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER()?
Sample Answer:
“ROW_NUMBER() assigns a unique sequential number to every row.
RANK() assigns the same rank to tied values but leaves gaps after a tie.
DENSE_RANK() also assigns the same rank to tied values but does not leave gaps.”
Example:
Values: 100, 100, 90
ROW_NUMBER: 1, 2, 3
RANK: 1, 1, 3
DENSE_RANK: 1, 1, 2
5️⃣ How would you find the second-highest salary?
Sample Answer:
“One approach is to use DENSE_RANK(). This also handles duplicate salaries correctly.”
6️⃣ How would you find the top 3 salaries in each department?
Sample Answer:
“I would use a window function to rank employees within each department.”
“The PARTITION BY ensures that ranking starts separately for each department.”
7️⃣ What is PARTITION BY in SQL?
Sample Answer:
“PARTITION BY divides the result set into groups for a window function without collapsing the rows.
For example, if I want to rank employees separately within each department, I can use PARTITION BY Department.”
8️⃣ What are LAG() and LEAD() functions?
Sample Answer:
“LAG() allows me to access a value from a previous row, while LEAD() allows me to access a value from a following row.
They are particularly useful for comparing current values with previous or future values, such as month-over-month sales.”
Guys, let's continue our Data Analyst Interview Series.
Today, let's cover 10 important SQL interview questions that test your practical SQL knowledge. 👇
1️⃣ What is a subquery in SQL?
Sample Answer:
“A subquery is a query written inside another SQL query. It can be used to retrieve intermediate results that are then used by the outer query.
For example, to find employees whose salary is greater than the average salary:”
SELECT Employee_ID, Salary
FROM Employees
WHERE Salary > (
SELECT AVG(Salary)
FROM Employees
);
2️⃣ What is a CTE?
Sample Answer:
“CTE stands for Common Table Expression. It allows us to define a temporary named result set using the WITH clause, which can then be referenced within the main query.
CTEs make complex queries easier to read, maintain, and debug.”
WITH CustomerSales AS (
SELECT Customer_ID,
SUM(Sales) AS Total_Sales
FROM Sales
GROUP BY Customer_ID
)
SELECT *
FROM CustomerSales
WHERE Total_Sales > 100000;
3️⃣ What is a window function?
Sample Answer:
“A window function performs a calculation across a set of related rows while still retaining the individual rows in the result.
Unlike GROUP BY, it does not collapse multiple rows into a single row.
Common window functions include ROW_NUMBER(), RANK(), DENSE_RANK(), LAG(), and LEAD().”
4️⃣ What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER()?
Sample Answer:
“ROW_NUMBER() assigns a unique sequential number to every row.
RANK() assigns the same rank to tied values but leaves gaps after a tie.
DENSE_RANK() also assigns the same rank to tied values but does not leave gaps.”
Example:
Values: 100, 100, 90
ROW_NUMBER: 1, 2, 3
RANK: 1, 1, 3
DENSE_RANK: 1, 1, 2
5️⃣ How would you find the second-highest salary?
Sample Answer:
“One approach is to use DENSE_RANK(). This also handles duplicate salaries correctly.”
WITH RankedEmployees AS (
SELECT Employee_ID,
Salary,
DENSE_RANK() OVER (ORDER BY Salary DESC) AS Salary_Rank
FROM Employees
)
SELECT Employee_ID, Salary
FROM RankedEmployees
WHERE Salary_Rank = 2;
6️⃣ How would you find the top 3 salaries in each department?
Sample Answer:
“I would use a window function to rank employees within each department.”
WITH RankedEmployees AS (
SELECT Employee_ID,
Department,
Salary,
DENSE_RANK() OVER (
PARTITION BY Department
ORDER BY Salary DESC
) AS Salary_Rank
FROM Employees
)
SELECT *
FROM RankedEmployees
WHERE Salary_Rank <= 3;
“The PARTITION BY ensures that ranking starts separately for each department.”
7️⃣ What is PARTITION BY in SQL?
Sample Answer:
“PARTITION BY divides the result set into groups for a window function without collapsing the rows.
For example, if I want to rank employees separately within each department, I can use PARTITION BY Department.”
SELECT Employee_ID,
Department,
Salary,
RANK() OVER (
PARTITION BY Department
ORDER BY Salary DESC
) AS Salary_Rank
FROM Employees;
8️⃣ What are LAG() and LEAD() functions?
Sample Answer:
“LAG() allows me to access a value from a previous row, while LEAD() allows me to access a value from a following row.
They are particularly useful for comparing current values with previous or future values, such as month-over-month sales.”
SELECT Month,
Sales,
LAG(Sales) OVER (ORDER BY Month) AS Previous_Month_Sales
FROM Monthly_Sales;
❤4
9️⃣ How would you calculate month-over-month growth?
Sample Answer:
“I would first retrieve the previous month's sales using LAG(), then calculate the percentage change between the current month and previous month.”
“I would also handle cases where the previous month's value is zero or NULL to avoid incorrect calculations.”
🔟 What is the difference between DELETE, TRUNCATE, and DROP?
Sample Answer:
“DELETE removes selected rows from a table and can be used with a WHERE condition.
TRUNCATE removes all rows from a table while keeping the table structure.
DROP removes the entire table, including its structure and data.
So, the key difference is whether I'm removing specific records, all records, or the entire table itself.”
📌 Double Tap ❤️ For Part-4
Sample Answer:
“I would first retrieve the previous month's sales using LAG(), then calculate the percentage change between the current month and previous month.”
SELECT Month,
Sales,
LAG(Sales) OVER (ORDER BY Month) AS Previous_Sales,
(Sales - LAG(Sales) OVER (ORDER BY Month))
* 100.0 /
LAG(Sales) OVER (ORDER BY Month) AS MoM_Growth
FROM Monthly_Sales;
“I would also handle cases where the previous month's value is zero or NULL to avoid incorrect calculations.”
🔟 What is the difference between DELETE, TRUNCATE, and DROP?
Sample Answer:
“DELETE removes selected rows from a table and can be used with a WHERE condition.
TRUNCATE removes all rows from a table while keeping the table structure.
DROP removes the entire table, including its structure and data.
So, the key difference is whether I'm removing specific records, all records, or the entire table itself.”
📌 Double Tap ❤️ For Part-4
❤19
𝗠𝗮𝘀𝘁𝗲𝗿 𝗣𝗼𝘄𝗲𝗿 𝗕𝗜 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘! 🔥
Learn Power BI through these FREE learning resources
✨ What You'll Learn:
📊 Interactive Dashboards
📈 Data Visualization
🧹 Data Transformation
💼 Real-World Reporting Skills
🎯 Beginner-Friendly — No Coding Required
𝗦𝘁𝗮𝗿𝘁 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘
https://pdlink.in/4hznwlu
💫Perfect for Students • Freshers • Data Analyst Aspirants • Working Professionals
Learn Power BI through these FREE learning resources
✨ What You'll Learn:
📊 Interactive Dashboards
📈 Data Visualization
🧹 Data Transformation
💼 Real-World Reporting Skills
🎯 Beginner-Friendly — No Coding Required
𝗦𝘁𝗮𝗿𝘁 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘
https://pdlink.in/4hznwlu
💫Perfect for Students • Freshers • Data Analyst Aspirants • Working Professionals
❤1
📊 Data Analyst Interview Series — Part 4
Guys, let's continue our Data Analyst Interview Series.
Today, let's cover 10 practical SQL questions that are commonly asked in Data Analyst interviews. 👇
1️⃣ How do you find the highest salary in each department?
Sample Answer:
"I would use a window function such as DENSE_RANK() and partition the data by department."
2️⃣ How do you find customers who have never placed an order?
Sample Answer:
"I would use a LEFT JOIN between the Customers and Orders tables and then filter for customers where no matching order exists."
3️⃣ How do you find the total sales for each customer?
Sample Answer:
"I would group the sales data by Customer_ID and use SUM() to calculate the total sales."
4️⃣ How do you find the top 5 customers by sales?
Sample Answer:
"I would aggregate sales by customer, sort the result in descending order, and then return the top five customers."
"The exact syntax for limiting rows can vary depending on the database, such as TOP in SQL Server."
5️⃣ How do you calculate the average order value?
Sample Answer:
"Average Order Value can be calculated by dividing total sales by the number of orders. If each row represents one order, AVG() can also be used directly on the order amount."
6️⃣ How would you identify customers who placed more than 5 orders?
Sample Answer:
"I would group the orders by Customer_ID and use HAVING to filter customers whose order count is greater than five."
7️⃣ How do you find records from the last 30 days?
Sample Answer:
"I would compare the date column with the current date and subtract 30 days. The exact syntax depends on the database."
For example:
8️⃣ How do you find the total sales by month?
Sample Answer:
"I would extract the month from the order date, group the data by month, and calculate the total sales."
9️⃣ How do you find employees whose salary is above their department's average salary?
Sample Answer:
"I would calculate the average salary for each department and compare each employee's salary with that department-level average. A CTE makes this easier to read."
Guys, let's continue our Data Analyst Interview Series.
Today, let's cover 10 practical SQL questions that are commonly asked in Data Analyst interviews. 👇
1️⃣ How do you find the highest salary in each department?
Sample Answer:
"I would use a window function such as DENSE_RANK() and partition the data by department."
WITH RankedEmployees AS (
SELECT Employee_ID,
Department,
Salary,
DENSE_RANK() OVER (
PARTITION BY Department
ORDER BY Salary DESC
) AS Salary_Rank
FROM Employees
)
SELECT Employee_ID, Department, Salary
FROM RankedEmployees
WHERE Salary_Rank = 1;
2️⃣ How do you find customers who have never placed an order?
Sample Answer:
"I would use a LEFT JOIN between the Customers and Orders tables and then filter for customers where no matching order exists."
SELECT c.Customer_ID,
c.Customer_Name
FROM Customers c
LEFT JOIN Orders o
ON c.Customer_ID = o.Customer_ID
WHERE o.Customer_ID IS NULL;
3️⃣ How do you find the total sales for each customer?
Sample Answer:
"I would group the sales data by Customer_ID and use SUM() to calculate the total sales."
SELECT Customer_ID,
SUM(Sales) AS Total_Sales
FROM Orders
GROUP BY Customer_ID;
4️⃣ How do you find the top 5 customers by sales?
Sample Answer:
"I would aggregate sales by customer, sort the result in descending order, and then return the top five customers."
SELECT Customer_ID,
SUM(Sales) AS Total_Sales
FROM Orders
GROUP BY Customer_ID
ORDER BY Total_Sales DESC
LIMIT 5;
"The exact syntax for limiting rows can vary depending on the database, such as TOP in SQL Server."
5️⃣ How do you calculate the average order value?
Sample Answer:
"Average Order Value can be calculated by dividing total sales by the number of orders. If each row represents one order, AVG() can also be used directly on the order amount."
SELECT AVG(Order_Amount) AS Average_Order_Value
FROM Orders;
6️⃣ How would you identify customers who placed more than 5 orders?
Sample Answer:
"I would group the orders by Customer_ID and use HAVING to filter customers whose order count is greater than five."
SELECT Customer_ID,
COUNT(**) AS Order_Count
FROM Orders
GROUP BY Customer_ID
HAVING COUNT(**) > 5;
7️⃣ How do you find records from the last 30 days?
Sample Answer:
"I would compare the date column with the current date and subtract 30 days. The exact syntax depends on the database."
For example:
SELECT **
FROM Orders
WHERE Order_Date >= CURRENT_DATE - INTERVAL '30' DAY;
8️⃣ How do you find the total sales by month?
Sample Answer:
"I would extract the month from the order date, group the data by month, and calculate the total sales."
SELECT
DATE_TRUNC('month', Order_Date) AS Month,
SUM(Sales) AS Total_Sales
FROM Orders
GROUP BY DATE_TRUNC('month', Order_Date)
ORDER BY Month;
9️⃣ How do you find employees whose salary is above their department's average salary?
Sample Answer:
"I would calculate the average salary for each department and compare each employee's salary with that department-level average. A CTE makes this easier to read."
WITH DepartmentAverage AS (
SELECT Department,
AVG(Salary) AS Avg_Salary
FROM Employees
GROUP BY Department
)
SELECT e.Employee_ID,
e.Department,
e.Salary
FROM Employees e
JOIN DepartmentAverage d
ON e.Department = d.Department
WHERE e.Salary > d.Avg_Salary;
👍2❤1
🔟 What is the difference between UNION and JOIN?
Sample Answer:
"JOIN combines columns from different tables based on a related key.
UNION combines rows from the results of two SELECT statements with compatible column structures.
For example, if I want to combine customer information with order information, I would typically use a JOIN. If I want to append two similar datasets containing the same type of records, I might use UNION."
📌 Double Tap ❤️ For Part 5
Sample Answer:
"JOIN combines columns from different tables based on a related key.
UNION combines rows from the results of two SELECT statements with compatible column structures.
For example, if I want to combine customer information with order information, I would typically use a JOIN. If I want to append two similar datasets containing the same type of records, I might use UNION."
📌 Double Tap ❤️ For Part 5
❤7
🚀𝗣𝗮𝘆 𝗔𝗳𝘁𝗲𝗿 𝗣𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗧𝗿𝗮𝗶𝗻𝗶𝗻𝗴 | 𝗕𝗲𝗰𝗼𝗺𝗲 𝗮 𝗙𝘂𝗹𝗹𝘀𝘁𝗮𝗰𝗸 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 𝗪𝗜𝘁𝗵 𝗚𝗲𝗻𝗔𝗜
Start a high-paying tech career—even without prior coding experience
🏆 𝗣𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀:
💰 ₹41 LPA highest salary
📈 ₹7.4 LPA average salary
🎓 2,000+ students placed
🏢 500+ hiring partners
✅ 100% job assistance
📜 Skill India–authenticated certificate
🔗 𝗔𝗽𝗽𝗹𝘆 𝗡𝗼𝘄👇:-
https://pdlink.in/3SuUeuD
🎯 HurryUp.....Limited Seats Available
Start a high-paying tech career—even without prior coding experience
🏆 𝗣𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀:
💰 ₹41 LPA highest salary
📈 ₹7.4 LPA average salary
🎓 2,000+ students placed
🏢 500+ hiring partners
✅ 100% job assistance
📜 Skill India–authenticated certificate
🔗 𝗔𝗽𝗽𝗹𝘆 𝗡𝗼𝘄👇:-
https://pdlink.in/3SuUeuD
🎯 HurryUp.....Limited Seats Available
❤4
📊 Data Analyst Interview Series — Part 5
Guys, let's continue our Data Analyst Interview Series.
This time, let's move to one of the most important skills for a Data Analyst: Excel.
Here are 10 Excel interview questions you should know. 👇
1️⃣ What is a PivotTable and why is it used?
Sample Answer:
“A PivotTable is an Excel feature used to quickly summarize and analyze large datasets. It allows me to group, filter, and aggregate data without writing complex formulas.
For example, I can use a PivotTable to calculate total sales by region, product, or month and quickly identify business trends.”
2️⃣ What is the difference between VLOOKUP and XLOOKUP?
Sample Answer:
“VLOOKUP searches for a value in the first column of a selected range and returns a value from another column. It has limitations such as primarily working from left to right.
XLOOKUP is more flexible. It can search in any direction, provides better handling of missing values, and allows separate lookup and return ranges.
For new Excel work, I would generally prefer XLOOKUP when it is available.”
3️⃣ What is the difference between COUNT, COUNTA, COUNTIF, and COUNTIFS?
Sample Answer:
“COUNT counts cells containing numbers.
COUNTA counts non-empty cells.
COUNTIF counts cells that meet one condition.
COUNTIFS counts cells that meet multiple conditions.”
Example:
4️⃣ What is the difference between SUMIF and SUMIFS?
Sample Answer:
“SUMIF is used when I have one condition, while SUMIFS is used when I need to apply multiple conditions.
For example, to calculate sales for the India region:
To calculate sales for India where the product is Laptop:
5️⃣ How do you remove duplicate records in Excel?
Sample Answer:
“I first determine which columns should uniquely identify a record. Then I can use Excel's Remove Duplicates feature to identify and remove duplicate rows.
However, I would not immediately delete duplicates. I would first verify whether they are genuine duplicates or legitimate repeated transactions.”
6️⃣ How do you handle missing values in Excel?
Sample Answer:
“First, I identify how many values are missing and understand why they are missing.
Depending on the situation, I may replace them with an appropriate value, use a formula such as IF or IFERROR, flag them as ‘Unknown’, or exclude them if the business requirement allows it.
I would avoid blindly replacing missing values because that can affect the accuracy of the analysis.”
7️⃣ What is conditional formatting?
Sample Answer:
“Conditional formatting automatically changes the appearance of cells based on specified conditions.
For example, I can use it to highlight sales below target, overdue transactions, duplicate values, negative profit, or unusually high values.
It is useful for quickly identifying patterns and exceptions in a dataset.”
8️⃣ How would you identify the top 10 customers by sales in Excel?
Sample Answer:
“I could use a PivotTable to summarize total sales by customer, sort the values in descending order, and filter the result to the top 10 customers.
Guys, let's continue our Data Analyst Interview Series.
This time, let's move to one of the most important skills for a Data Analyst: Excel.
Here are 10 Excel interview questions you should know. 👇
1️⃣ What is a PivotTable and why is it used?
Sample Answer:
“A PivotTable is an Excel feature used to quickly summarize and analyze large datasets. It allows me to group, filter, and aggregate data without writing complex formulas.
For example, I can use a PivotTable to calculate total sales by region, product, or month and quickly identify business trends.”
2️⃣ What is the difference between VLOOKUP and XLOOKUP?
Sample Answer:
“VLOOKUP searches for a value in the first column of a selected range and returns a value from another column. It has limitations such as primarily working from left to right.
XLOOKUP is more flexible. It can search in any direction, provides better handling of missing values, and allows separate lookup and return ranges.
For new Excel work, I would generally prefer XLOOKUP when it is available.”
3️⃣ What is the difference between COUNT, COUNTA, COUNTIF, and COUNTIFS?
Sample Answer:
“COUNT counts cells containing numbers.
COUNTA counts non-empty cells.
COUNTIF counts cells that meet one condition.
COUNTIFS counts cells that meet multiple conditions.”
Example:
=COUNT(A2:A100)=COUNTA(A2:A100)=COUNTIF(B2:B100,"Completed")=COUNTIFS(B2:B100,"Completed",C2:C100,">1000")4️⃣ What is the difference between SUMIF and SUMIFS?
Sample Answer:
“SUMIF is used when I have one condition, while SUMIFS is used when I need to apply multiple conditions.
For example, to calculate sales for the India region:
=SUMIF(A:A,"India",B:B)To calculate sales for India where the product is Laptop:
=SUMIFS(C:C,A:A,"India",B:B,"Laptop")5️⃣ How do you remove duplicate records in Excel?
Sample Answer:
“I first determine which columns should uniquely identify a record. Then I can use Excel's Remove Duplicates feature to identify and remove duplicate rows.
However, I would not immediately delete duplicates. I would first verify whether they are genuine duplicates or legitimate repeated transactions.”
6️⃣ How do you handle missing values in Excel?
Sample Answer:
“First, I identify how many values are missing and understand why they are missing.
Depending on the situation, I may replace them with an appropriate value, use a formula such as IF or IFERROR, flag them as ‘Unknown’, or exclude them if the business requirement allows it.
I would avoid blindly replacing missing values because that can affect the accuracy of the analysis.”
7️⃣ What is conditional formatting?
Sample Answer:
“Conditional formatting automatically changes the appearance of cells based on specified conditions.
For example, I can use it to highlight sales below target, overdue transactions, duplicate values, negative profit, or unusually high values.
It is useful for quickly identifying patterns and exceptions in a dataset.”
8️⃣ How would you identify the top 10 customers by sales in Excel?
Sample Answer:
“I could use a PivotTable to summarize total sales by customer, sort the values in descending order, and filter the result to the top 10 customers.
Alternatively, depending on the Excel version and requirement, I could use functions such as SORT, FILTER, or LARGE.”
9️⃣ What is the difference between relative and absolute cell references?
Sample Answer:
“A relative reference changes when a formula is copied to another cell.
For example:
An absolute reference remains fixed when the formula is copied.
For example:
Absolute references are particularly useful when applying a calculation using a fixed assumption, tax rate, exchange rate, or target value.”
🔟 How would you clean a large dataset in Excel?
Sample Answer:
“I would first understand the structure and identify data-quality issues.
My process would typically include:
• Removing or investigating duplicates
• Handling missing values
• Standardizing text and date formats
• Correcting inconsistent values
• Checking data types
• Identifying invalid or unusual values
• Using formulas or Power Query for repeatable transformations
• Validating the cleaned dataset before analysis
For a large or recurring dataset, I would prefer Power Query rather than manually cleaning the data every time.”
Double Tap ❤️ For Part-6
9️⃣ What is the difference between relative and absolute cell references?
Sample Answer:
“A relative reference changes when a formula is copied to another cell.
For example:
=A2**B2An absolute reference remains fixed when the formula is copied.
For example:
=A2**$B$1Absolute references are particularly useful when applying a calculation using a fixed assumption, tax rate, exchange rate, or target value.”
🔟 How would you clean a large dataset in Excel?
Sample Answer:
“I would first understand the structure and identify data-quality issues.
My process would typically include:
• Removing or investigating duplicates
• Handling missing values
• Standardizing text and date formats
• Correcting inconsistent values
• Checking data types
• Identifying invalid or unusual values
• Using formulas or Power Query for repeatable transformations
• Validating the cleaned dataset before analysis
For a large or recurring dataset, I would prefer Power Query rather than manually cleaning the data every time.”
Double Tap ❤️ For Part-6
❤6
📊 Kandinsky 6.0 Video: AI-Powered Content Creation for Analysts
The new Kandinsky 6.0 Video lineup — the flagship Pro and the lightweight Lite — generates videos with synchronized audio in quality up to Full HD: useful for data storytelling and presentations. Open-source under the MIT license.
🎯 Key capabilities for analysts:
• Create video reports with voiceover narration
• Animate data visualizations with background music
• Generate demo clips for stakeholder presentations
• Produce training videos with synchronized explanations
📈 Technical details:
• Video + audio generation in one model
• Lip-sync for spokesperson videos
• 44 kHz audio quality
• Realistic physics in animations
• Up to 5 seconds per clip
🔧 Integration:
Open-source (MIT license). Works with:
• Diffusers (Python)
• FastVideo
• ComfyUI
📊 Performance:
• Clearly outperforms the previous version across all criteria (Pro)
• Pro beats Veo 3.1 Fast in image animation
Anton Frolov, Sber: "For professional content, this means faster and more cost-effective production."
🔗 Hugging Face
The new Kandinsky 6.0 Video lineup — the flagship Pro and the lightweight Lite — generates videos with synchronized audio in quality up to Full HD: useful for data storytelling and presentations. Open-source under the MIT license.
🎯 Key capabilities for analysts:
• Create video reports with voiceover narration
• Animate data visualizations with background music
• Generate demo clips for stakeholder presentations
• Produce training videos with synchronized explanations
📈 Technical details:
• Video + audio generation in one model
• Lip-sync for spokesperson videos
• 44 kHz audio quality
• Realistic physics in animations
• Up to 5 seconds per clip
🔧 Integration:
Open-source (MIT license). Works with:
• Diffusers (Python)
• FastVideo
• ComfyUI
📊 Performance:
• Clearly outperforms the previous version across all criteria (Pro)
• Pro beats Veo 3.1 Fast in image animation
Anton Frolov, Sber: "For professional content, this means faster and more cost-effective production."
🔗 Hugging Face
❤3