es
Feedback
Data Analytics

Data Analytics

Ir al canal en Telegram

Perfect channel to learn Data Analytics Learn SQL, Python, Alteryx, Tableau, Power BI and many more For Promotions: @coderfun @love_data

Mostrar más

📈 Análisis del canal de Telegram Data Analytics

El canal Data Analytics (@sqlspecialist) en el segmento lingüístico de Inglés es un actor destacado. Actualmente la comunidad reúne a 109 708 suscriptores, ocupando la posición 1 117 en la categoría Tecnologías y Aplicaciones y el puesto 2 334 en la región India.

📊 Métricas de audiencia y dinámica

Desde su creación el невідомо, el proyecto ha mostrado un crecimiento acelerado, reuniendo a 109 708 suscriptores.

Según los últimos datos del 25 junio, 2026, el canal mantiene una actividad estable. En los últimos 30 días la variación de miembros fue de 596, y en las últimas 24 horas de 55, conservando un alto alcance.

  • Estado de verificación: No verificado
  • Tasa de interacción (ER): El promedio de interacción de la audiencia es 2.69%. Durante las primeras 24 horas tras publicar, el contenido suele obtener 0.78% de reacciones respecto al total de suscriptores.
  • Alcance de las publicaciones: Cada publicación recibe en promedio 2 948 visualizaciones. En el primer día suele acumular 853 visualizaciones.
  • Reacciones e interacción: La audiencia responde de forma activa: el promedio de reacciones por publicación es 8.
  • Intereses temáticos: El contenido se centra en temas clave como row, sql, analytic, analyst, visualization.

📝 Descripción y política de contenido

El autor describe el recurso como un espacio para expresar opiniones subjetivas:
Perfect channel to learn Data Analytics Learn SQL, Python, Alteryx, Tableau, Power BI and many more For Promotions: @coderfun @love_data

Gracias a la alta frecuencia de actualizaciones (últimos datos recibidos el 26 junio, 2026), el canal mantiene la vigencia y un amplio alcance. La analítica demuestra que la audiencia interactúa activamente con el contenido, lo que lo convierte en un punto de referencia dentro de la categoría Tecnologías y Aplicaciones.

109 708
Suscriptores
+5524 horas
+947 días
+59630 días
Archivo de publicaciones
As a data analytics enthusiast, the end goal is not just to learn SQL, Power BI, Python, Excel, etc. but to get a job as a Data Analyst👨💻 Back then, when I was trying to switch my career into data analytics, I used to keep aside 1:00-1:30 hours of my day aside so that I can utilize those hours to search for job openings related to Data analytics and Business Intelligence. Before going to bed, I used to utilize the first 30 minutes by going through various job portals such as naukri, LinkedIn, etc to find relevant openings and next 1 hour by collecting the keywords from the job description to curate the resume accordingly and searching for profile of people who can refer me for the role. 📍 I will advise every aspiring data analyst to have a dedicated timing for searching and applying for the jobs. 📍To get into data analytics, applying for jobs is as important as learning and upskilling. If you are not applying for the jobs, you are simply delaying your success to get into data analytics👨💻📊 Hope this helps you 😊

𝗠𝗮𝘀𝘁𝗲𝗿 𝗗𝗮𝘁𝗮 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 𝗜𝗻 𝟮𝟬𝟮𝟱😍 Master industry-standard tools like Excel, SQL, Tableau, and more. G
𝗠𝗮𝘀𝘁𝗲𝗿 𝗗𝗮𝘁𝗮 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 𝗜𝗻 𝟮𝟬𝟮𝟱😍 Master industry-standard tools like Excel, SQL, Tableau, and more. Gain hands-on experience through real-world projects designed to mimic professional challenges 𝗟𝗶𝗻𝗸👇 :-  https://pdlink.in/4jxUW2K All The Best 🎉

Data Analyst Interview Series Part-6 What is the difference between COUNT(), COUNT(*), and COUNT(DISTINCT) in SQL? COUNT(column_name): Counts non-null values in a specific column. COUNT(*): Counts all rows, including NULL values. COUNT(DISTINCT column_name): Counts unique non-null values in a column. Example:
SELECT COUNT(salary) FROM employees; -- Counts non-null salaries SELECT COUNT(*) FROM employees; -- Counts all rows SELECT COUNT(DISTINCT department) FROM employees; -- Counts unique departments 
What are the different types of filters in Power BI? Power BI provides several types of filters: Visual-level filters: Apply to a single visual. Page-level filters: Apply to all visuals on a report page. Report-level filters: Apply to the entire report. Drillthrough filters: Allow focusing on specific details by navigating to another report page. Top N filters: Show only the top N values based on a measure. Example: Using a Top N filter to show the top 5 performing products in sales. How do you use the VLOOKUP function in Excel? VLOOKUP searches for a value in the first column of a range and returns a corresponding value from another column. Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]) Example: To find an employee’s department based on their ID: =VLOOKUP(101, A2:C10, 2, FALSE) 101 → Value to search for A2:C10 → Table range 2 → Column number to return data from FALSE → Exact match What is the difference between a Bar Chart and a Column Chart? Bar Chart: Uses horizontal bars, suitable for comparing categories. Column Chart: Uses vertical bars, good for showing trends over time. Example: A Bar Chart is useful for comparing sales across regions. A Column Chart is useful for showing monthly revenue growth. How do you handle missing data in Pandas? Pandas provides multiple ways to handle missing data: Remove missing values: df.dropna() Fill missing values with a default value: df.fillna(0) Fill missing values with the column mean: df['Salary'].fillna(df['Salary'].mean(), inplace=True) Forward fill (copy previous value): df.fillna(method='ffill') Backward fill (copy next value): df.fillna(method='bfill') These methods ensure data quality while preventing errors in analysis. Like this post for if you want me to continue the interview series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

Data Analyst Roadmap: - Tier 1: Excel & SQL - Tier 2: Data Cleaning & Exploratory Data Analysis (EDA) - Tier 3: Data Visualization & Business Intelligence (BI) Tools - Tier 4: Statistical Analysis & Machine Learning Basics Then build projects that include: - Data Collection - Data Cleaning - Data Analysis - Data Visualization And if you want to make your portfolio stand out more: - Solve real business problems - Provide clear, impactful insights - Create a presentation - Record a video presentation - Target specific industries - Reach out to companies Hope this helps you 😊

𝗬𝗼𝘂𝗿 𝗨𝗹𝘁𝗶𝗺𝗮𝘁𝗲 𝗥𝗼𝗮𝗱𝗺𝗮𝗽 𝘁𝗼 𝗕𝗲𝗰𝗼𝗺𝗲 𝗮 𝗗𝗮𝘁𝗮 𝗔𝗻𝗮𝗹𝘆𝘀𝘁!😍 Want to break into Data Analytics but don’t know where to start? Follow this step-by-step roadmap to build real-world skills! ✅ 𝐋𝐢𝐧𝐤👇:- https://pdlink.in/3CHqZg7 🎯 Start today & build a strong career in Data Analytics! 🚀

Day 30: Final Review & SQL Projects 1. Recap of Key Topics ✔ Week 1 (SQL Basics): SELECT, WHERE, ORDER BY, Aggregations, GROUP BY ✔ Week 2 (Intermediate SQL): JOINS, Subqueries, String & Date Functions, UNION ✔ Week 3 (Advanced SQL): CTEs, Window Functions, Transactions, Indexing ✔ Week 4 (Database Management): Constraints, Performance Tuning, Stored Procedures 2. SQL Mini Projects (Hands-On Practice) 📌 Project 1: Employee Database Analysis 👉 Skills Used: Joins, Aggregations, Window Functions 🔹 Find the top 5 highest-paid employees in each department. 🔹 Calculate the average salary per department using GROUP BY. ✅ Example Query:
SELECT DepartmentID, Name, Salary, 
RANK() OVER(PARTITION BY DepartmentID ORDER BY Salary DESC) AS SalaryRank
FROM Employees;
📌 Project 2: E-Commerce Sales Insights 👉 Skills Used: Joins, Date Functions, Subqueries 🔹 Find the total revenue generated in the last 6 months. 🔹 Identify the top-selling products. ✅ Example Query:
SELECT ProductID, SUM(TotalAmount) AS TotalSales 
FROM Orders 
WHERE OrderDate >= DATEADD(MONTH, -6, GETDATE()) 
GROUP BY ProductID 
ORDER BY TotalSales DESC;
📌 Project 3: Customer Retention Analysis 👉 Skills Used: CTEs, Window Functions, Recursive Queries 🔹 Identify customers who made repeat purchases. 🔹 Find the time gap between first and last purchase. ✅ Example Query:
WITH CustomerOrders AS (
  SELECT CustomerID, OrderDate, 
  RANK() OVER (PARTITION BY CustomerID ORDER BY OrderDate ASC) AS FirstOrder
  FROM Orders
)
SELECT CustomerID, MIN(OrderDate) AS FirstPurchase, MAX(OrderDate) AS LastPurchase 
FROM CustomerOrders
GROUP BY CustomerID;
3. What’s Next? 🚀 Continue Improving: Solve problems on LeetCode, StrataScratch, SQLZoo 📈 Build Projects: Create a portfolio with real-world datasets 📚 Learn Advanced Topics: Explore Data Warehousing, BigQuery, NoSQL 🎉 Congratulations on Completing the 30-Day SQL Challenge! 🎉 If you found this useful, like this post and share it with your friends! Here you can find SQL Interview Resources👇 https://t.me/sqlanalyst Share with credits: https://t.me/sqlspecialist Hope it helps :)

If you have time to learn...! You have time to clean...! Start from Scratch that !!!! You have time to become a Data Analyst...!! ➜ learn Excel ➜ learn SQL ➜ learn either Power BI or Tableau ➜ learn what the heck ATS is and how to get around it ➜ learn to be ready for any interview question ➜ to build projects for a portfolio ➜ to put invest the time for your future ➜ to fail and pick yourself back up And you don't need to do it all at once! You can now find Data Analytics Resources on WhatsApp as well 👇👇 https://whatsapp.com/channel/0029VaGgzAk72WTmQFERKh02 Hope this helps you 😊

𝗠𝗮𝘀𝘁𝗲𝗿 𝗗𝗮𝘁𝗮 𝗦𝗰𝗶𝗲𝗻𝗰𝗲 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘 𝘄𝗶𝘁𝗵 𝗧𝗵𝗲𝘀𝗲 𝗬𝗼𝘂𝗧𝘂𝗯𝗲 𝗖𝗵𝗮𝗻𝗻𝗲𝗹𝘀 𝗶𝗻 𝟮𝟬𝟮𝟱!😍 If
𝗠𝗮𝘀𝘁𝗲𝗿 𝗗𝗮𝘁𝗮 𝗦𝗰𝗶𝗲𝗻𝗰𝗲 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘 𝘄𝗶𝘁𝗵 𝗧𝗵𝗲𝘀𝗲 𝗬𝗼𝘂𝗧𝘂𝗯𝗲 𝗖𝗵𝗮𝗻𝗻𝗲𝗹𝘀 𝗶𝗻 𝟮𝟬𝟮𝟱!😍 If you’re serious about becoming a Data Scientist but don’t know where to start, these YouTube channels will take you from 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿 𝘁𝗼 𝗮𝗱𝘃𝗮𝗻𝗰𝗲𝗱—all for FREE! 𝐋𝐢𝐧𝐤👇:- https://pdlink.in/3QaTvdg Start from scratch, master advanced concepts, and land your dream job in Data Science! 🎯

You don't need to know everything about every data tool. Focus on what will help land you your job. For Excel: - IFS (all variations) - XLOOKUP - IMPORTRANGE (in GSheets) - Pivot Tables - Dynamic functions like TODAY() For SQL: - Sum - Group By - Window Functions - CTEs - Joins For Tableau: - Calculated Columns - Sets - Groups - Formatting For Power BI: - Power Query for data transformation - DAX (Data Analysis Expressions) for creating custom calculations - Relationships between tables - Creating interactive and dynamic dashboards - Utilizing slicers and filters effectively You can now find Data Analytics Resources on WhatsApp 👇👇 https://whatsapp.com/channel/0029VaGgzAk72WTmQFERKh02 Hope this helps you 😊

There’s one thing in common that Data Analysts did to land their first job They never gave up When things get tough and burnout starts to creep - Take a small break (but get back into it) - Don’t use the same applying strategies (switch it up) - Understand you’re playing the long game Don’t waste months of learning just to give up at the finish line I have curated free Data Analytics Resources 👇👇 https://t.me/DataSimplifier Hope this helps you 😊

Day 29: Query Performance Tuning – Optimize SQL Queries 1. Why Optimize SQL Queries? Efficient queries reduce execution time, improve database performance, and minimize resource usage. 2. Key Techniques for Query Optimization 📌 1. Use Indexes to Speed Up Searches Indexes improve query performance by reducing the number of scanned rows. ✅ Example: Creating an Index
CREATE INDEX idx_employee_name ON Employees(Name); 
Check Existing Indexes
SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID('Employees'); 
📌 2. Avoid SELECT * (Specify Columns Instead) Fetching all columns increases memory usage and slows down queries. ❌ Bad Query: SELECT * FROM Employees; Optimized Query: SELECT Name, Salary FROM Employees; 📌 3. Use WHERE Instead of HAVING for Filtering WHERE filters before grouping, while HAVING filters after aggregation, making WHERE more efficient. ❌ Bad Query:
SELECT Department, COUNT(*) FROM Employees GROUP BY Department HAVING COUNT(*) > 5; 
Optimized Query:
SELECT Department, COUNT(*) FROM Employees WHERE Department IS NOT NULL GROUP BY Department; 
📌 4. Use EXISTS Instead of IN for Large Datasets EXISTS stops searching after the first match, whereas IN scans the entire list. ❌ Bad Query:
SELECT * FROM Employees WHERE DepartmentID IN (SELECT DepartmentID FROM Departments); 
Optimized Query:
SELECT * FROM Employees WHERE EXISTS (SELECT 1 FROM Departments WHERE Departments.DepartmentID = Employees.DepartmentID);
📌 5. Optimize JOINS by Selecting Required Columns Avoid unnecessary columns and filters in JOIN queries. ❌ Bad Query:
SELECT * FROM Employees e JOIN Departments d ON e.DepartmentID = d.DepartmentID; 
Optimized Query:
SELECT e.Name, d.DepartmentName FROM Employees e JOIN Departments d ON e.DepartmentID = d.DepartmentID; 
✅ Action Plan for Today: 1️⃣ Create an index for a frequently searched column. 2️⃣ Rewrite a query to avoid SELECT *. 3️⃣ Experiment with EXISTS vs IN for filtering data. Here you can find SQL Interview Resources👇 https://t.me/sqlanalyst Like this post if you want me to continue this SQL series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

𝗧𝗼𝗽 𝗙𝗿𝗲𝗲 𝗣𝘆𝘁𝗵𝗼𝗻 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 𝗳𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀😍 Python is one of the most versatile and in-demand programming languages today. Whether you’re a beginner or looking to refresh your coding skills, these beginner-friendly courses will guide you step by step. 𝗟𝗲𝗮𝗿𝗻 𝗙𝗼𝗿 𝗙𝗥𝗘𝗘👇:- https://pdlink.in/4gG4k2q All The Best 🎉

Data analyst interview questions Part-5: 21. What are Window Functions in SQL? Window functions perform calculations across a set of rows related to the current row without collapsing the dataset like GROUP BY. Common window functions: RANK() – Assigns a rank with gaps for ties. DENSE_RANK() – Assigns a rank without gaps. ROW_NUMBER() – Assigns a unique row number. LEAD() / LAG() – Access next/previous row values. Example:
SELECT Employee, Department, Salary, RANK() OVER (PARTITION BY Department ORDER BY Salary DESC) AS Rank FROM Employees; 
22. How do you create a calculated column in Power BI? A calculated column is a new column created using DAX formulas. Example: Profit Margin = Sales[Profit] / Sales[Revenue] Steps in Power BI: Open Power BI Desktop. Go to the Modeling tab → Click New Column. Enter the DAX formula and press Enter. 23. How do you find duplicate values in Excel? Methods to identify duplicates: Conditional Formatting: Select data → Click Home > Conditional Formatting > Highlight Duplicates. Using COUNTIF formula: =IF(COUNTIF(A:A, A2) > 1, "Duplicate", "Unique") Using Power Query: Load data into Power Query → Use Group By to count duplicates. 24. What is the difference between a Line Chart and an Area Chart? Line Chart: Shows trends over time using a continuous line. Area Chart: Similar to a Line Chart but fills the area below the line with color, emphasizing volume. Example: A Line Chart shows monthly stock prices over time. An Area Chart shows cumulative sales trends over time. 25. How do you merge two DataFrames in Pandas? You can use merge() for SQL-like joins:
import pandas as pd df1 = pd.DataFrame({"ID": [1, 2, 3], "Name": ["Alice", "Bob", "Charlie"]}) df2 = pd.DataFrame({"ID": [1, 2, 4], "Salary": [50000, 60000, 70000]}) # INNER JOIN df_inner = df1.merge(df2, on="ID", how="inner") # LEFT JOIN df_left = df1.merge(df2, on="ID", how="left") print(df_inner) 
Common merge types: how="inner" → Returns only matching rows. how="left" → Keeps all rows from the left DataFrame. how="right" → Keeps all rows from the right DataFrame. how="outer" → Returns all rows, filling missing values with NaN. Like this post for if you want me to continue the interview series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

Day 28: Integrating SQL with Other Tools (Python, Power BI, Tableau) & SQL in Big Data 1. Using SQL with Python Python is widely used to interact with databases via libraries like sqlite3, SQLAlchemy, and pandas. 📌 Example: Connecting to a Database in Python
import sqlite3 # Connect to the database conn = sqlite3.connect('my_database.db') cursor = conn.cursor() # Execute a query cursor.execute("SELECT * FROM Employees") rows = cursor.fetchall() # Print results for row in rows: print(row) conn.close()
2. Using SQL with Power BI Power BI allows direct SQL connections for data visualization. 📌 Steps to Connect SQL to Power BI: 1️⃣ Open Power BI Desktop. 2️⃣ Click on Get Data → Select SQL Server. 3️⃣ Enter Server Name & Database Name. 4️⃣ Choose DirectQuery or Import Mode. 5️⃣ Load and create visualizations using SQL queries. 3. Using SQL with Tableau Tableau connects with SQL databases to create interactive dashboards. 📌 Steps to Connect SQL to Tableau: 1️⃣ Open Tableau → Click Connect to Data. 2️⃣ Choose Microsoft SQL Server, MySQL, or PostgreSQL. 3️⃣ Enter Database Credentials. 4️⃣ Use SQL queries to fetch data and build charts & graphs. 4. SQL in Big Data (Introduction to NoSQL) SQL is not always suitable for big data processing. NoSQL databases like MongoDB, Cassandra, and Hadoop are used for scalable, unstructured data. 📌 SQL vs NoSQL: ✔ SQL: Structured data, strict schema, ACID compliance (e.g., MySQL, PostgreSQL). ✔ NoSQL: Flexible schema, distributed storage, better for big data (e.g., MongoDB, Cassandra). ✅ Action Plan for Today: 1️⃣ Try running a SQL query in Python. 2️⃣ Connect a SQL database to Power BI/Tableau. 3️⃣ Research the difference between SQL and NoSQL for big data. Here you can find SQL Interview Resources👇 https://topmate.io/analyst/864764 Like this post if you want me to continue this SQL series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

Day 28: Integrating SQL with Other Tools (Python, Power BI, Tableau) & SQL in Big Data 1. Using SQL with Python Python is widely used to interact with databases via libraries like sqlite3, SQLAlchemy, and pandas. 📌 Example: Connecting to a Database in Python
import sqlite3 # Connect to the database conn = sqlite3.connect('my_database.db') cursor = conn.cursor() # Execute a query cursor.execute("SELECT * FROM Employees") rows = cursor.fetchall() # Print results for row in rows: print(row) conn.close()
2. Using SQL with Power BI Power BI allows direct SQL connections for data visualization. 📌 Steps to Connect SQL to Power BI: 1️⃣ Open Power BI Desktop. 2️⃣ Click on Get Data → Select SQL Server. 3️⃣ Enter Server Name & Database Name. 4️⃣ Choose DirectQuery or Import Mode. 5️⃣ Load and create visualizations using SQL queries. 3. Using SQL with Tableau Tableau connects with SQL databases to create interactive dashboards. 📌 Steps to Connect SQL to Tableau: 1️⃣ Open Tableau → Click Connect to Data. 2️⃣ Choose Microsoft SQL Server, MySQL, or PostgreSQL. 3️⃣ Enter Database Credentials. 4️⃣ Use SQL queries to fetch data and build charts & graphs. 4. SQL in Big Data (Introduction to NoSQL) SQL is not always suitable for big data processing. NoSQL databases like MongoDB, Cassandra, and Hadoop are used for scalable, unstructured data. 📌 SQL vs NoSQL: ✔ SQL: Structured data, strict schema, ACID compliance (e.g., MySQL, PostgreSQL). ✔ NoSQL: Flexible schema, distributed storage, better for big data (e.g., MongoDB, Cassandra). ✅ Action Plan for Today: 1️⃣ Try running a SQL query in Python. 2️⃣ Connect a SQL database to Power BI/Tableau. 3️⃣ Research the difference between SQL and NoSQL for big data. Here you can find SQL Interview Resources👇 https://topmate.io/analyst/864764 Like this post if you want me to continue this SQL series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

𝗦𝗤𝗟 𝗙𝗥𝗘𝗘 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 😍 Best Free SQL Courses to Get Started 1) Introduction to Database
𝗦𝗤𝗟 𝗙𝗥𝗘𝗘 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 😍 Best Free SQL Courses to Get Started 1) Introduction to Databases and SQL 2) Advanced Database and SQL 3) Learn SQL  4) SQL Tutorial 𝐋𝐢𝐧𝐤 👇:-  https://pdlink.in/3EyjUPt Enroll For FREE & Get Certified 🎓

Data Analyst Interview Part-4 16. What is the difference between OLTP and OLAP? Answer: OLTP (Online Transaction Processing): Handles real-time, transactional data (e.g., banking systems, e-commerce). Focuses on fast inserts, updates, and deletes. OLAP (Online Analytical Processing): Used for complex queries, reporting, and business intelligence (e.g., data warehouses, dashboards). Optimized for data retrieval. Example: An OLTP system records a customer's purchase in an online store. An OLAP system analyzes total sales trends for different products over time. 17. What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER() in SQL? Answer: These functions assign ranks to rows in a result set: RANK(): Assigns a rank but skips numbers if there are duplicates. DENSE_RANK(): Assigns a rank without skipping numbers. ROW_NUMBER(): Assigns a unique row number to each row, even if values are the same. Example:
SELECT Employee, Salary, RANK() OVER (ORDER BY Salary DESC) AS Rank, DENSE_RANK() OVER (ORDER BY Salary DESC) AS DenseRank, ROW_NUMBER() OVER (ORDER BY Salary DESC) AS RowNum FROM Employees; 
18. What are Measures and Dimensions in Tableau? Answer: Measures: Numeric values that can be aggregated (e.g., Sales, Profit, Quantity). Dimensions: Categorical fields that define data granularity (e.g., Product, Region, Date). Example: "Sales" is a Measure (sum of sales). "Customer Name" is a Dimension (used to group data). 19. How do you remove outliers from a dataset in Python? Answer: Outliers can be removed using statistical methods: Using IQR (Interquartile Range) Method:
import pandas as pd import numpy as np Q1 = df["Sales"].quantile(0.25) Q3 = df["Sales"].quantile(0.75) IQR = Q3 - Q1 df_cleaned = df[(df["Sales"] >= Q1 - 1.5*IQR) & (df["Sales"] <= Q3 + 1.5*IQR)] 
Using Z-Score Method:
from scipy import stats df_cleaned = df[(np.abs(stats.zscore(df["Sales"])) < 3)] 
20. What is the difference between INNER JOIN and LEFT JOIN? Answer: INNER JOIN returns only matching records from both tables. LEFT JOIN returns all records from the left table and matching records from the right table (fills NULL if no match). Example:
-- INNER JOIN: Returns only matching Customers with Orders SELECT Customers.Name, Orders.OrderID FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID; -- LEFT JOIN: Returns all Customers, even if they have no Orders SELECT Customers.Name, Orders.OrderID FROM Customers LEFT JOIN Orders ON Customers.CustomerID = Orders.CustomerID; 
I have curated best 80+ top-notch Data Analytics Resources 👇👇 https://topmate.io/analyst/861634 Like this post for if you want me to continue the interview series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

Data Analyst Interview Part-4 16. What is the difference between OLTP and OLAP? Answer: OLTP (Online Transaction Processing): Handles real-time, transactional data (e.g., banking systems, e-commerce). Focuses on fast inserts, updates, and deletes. OLAP (Online Analytical Processing): Used for complex queries, reporting, and business intelligence (e.g., data warehouses, dashboards). Optimized for data retrieval. Example: An OLTP system records a customer's purchase in an online store. An OLAP system analyzes total sales trends for different products over time. 17. What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER() in SQL? Answer: These functions assign ranks to rows in a result set: RANK(): Assigns a rank but skips numbers if there are duplicates. DENSE_RANK(): Assigns a rank without skipping numbers. ROW_NUMBER(): Assigns a unique row number to each row, even if values are the same. Example:
SELECT Employee, Salary, RANK() OVER (ORDER BY Salary DESC) AS Rank, DENSE_RANK() OVER (ORDER BY Salary DESC) AS DenseRank, ROW_NUMBER() OVER (ORDER BY Salary DESC) AS RowNum FROM Employees; 
18. What are Measures and Dimensions in Tableau? Answer: Measures: Numeric values that can be aggregated (e.g., Sales, Profit, Quantity). Dimensions: Categorical fields that define data granularity (e.g., Product, Region, Date). Example: "Sales" is a Measure (sum of sales). "Customer Name" is a Dimension (used to group data). 19. How do you remove outliers from a dataset in Python? Answer: Outliers can be removed using statistical methods: Using IQR (Interquartile Range) Method:
import pandas as pd import numpy as np Q1 = df["Sales"].quantile(0.25) Q3 = df["Sales"].quantile(0.75) IQR = Q3 - Q1 df_cleaned = df[(df["Sales"] >= Q1 - 1.5*IQR) & (df["Sales"] <= Q3 + 1.5*IQR)] 
Using Z-Score Method:
from scipy import stats df_cleaned = df[(np.abs(stats.zscore(df["Sales"])) < 3)] 
20. What is the difference between INNER JOIN and LEFT JOIN? Answer: INNER JOIN returns only matching records from both tables. LEFT JOIN returns all records from the left table and matching records from the right table (fills NULL if no match). Example:
-- INNER JOIN: Returns only matching Customers with Orders SELECT Customers.Name, Orders.OrderID FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID; -- LEFT JOIN: Returns all Customers, even if they have no Orders SELECT Customers.Name, Orders.OrderID FROM Customers LEFT JOIN Orders ON Customers.CustomerID = Orders.CustomerID; 
I have curated best 80+ top-notch Data Analytics Resources 👇👇 https://topmate.io/analyst/861634 Like this post for if you want me to continue the interview series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)

𝗙𝗿𝗲𝗲 𝗗𝗲𝗺𝗼 𝗖𝗹𝗮𝘀𝘀 𝗮𝘁 𝗦𝗸𝗶𝗹𝗹 𝗖𝗲𝗻𝘁𝗿𝗲, 𝗛𝘆𝗱𝗲𝗿𝗮𝗯𝗮𝗱 😍 Learn in-demand Coding Skills face-to-face i
𝗙𝗿𝗲𝗲 𝗗𝗲𝗺𝗼 𝗖𝗹𝗮𝘀𝘀 𝗮𝘁 𝗦𝗸𝗶𝗹𝗹 𝗖𝗲𝗻𝘁𝗿𝗲, 𝗛𝘆𝗱𝗲𝗿𝗮𝗯𝗮𝗱 😍 Learn in-demand Coding Skills face-to-face in Hyderabad from a Microsoft SDE with 5+ years of Experience In Our  Skill Centre, you get •⁠  ⁠Access to Weekly Hiring Drives •⁠  ⁠Small Batch Size with Spacious Classrooms •⁠  ⁠Access to 500+ Hiring Partners 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗙𝗼𝗿 𝗙𝗥𝗘𝗘 𝗗𝗲𝗺𝗼 𝗖𝗹𝗮𝘀𝘀 👇:- https://pdlink.in/4aQtv04 (Students in HYDERABAD & Nearby Cities Only!) ⏰ Time: 11 AM 🗓️ Date: 8th Feb ⏳ Limited seats! Book now! 🚀

Day 27: Writing Stored Procedures and Functions in SQL 1. What Are Stored Procedures? A Stored Procedure is a reusable block of SQL code that executes multiple SQL statements in a single call. It improves performance, security, and maintainability. 2. Creating a Stored Procedure 📌 Basic Syntax
CREATE PROCEDURE GetEmployeeDetails AS BEGIN SELECT * FROM Employees; END; 
📌 Executing the Procedure
EXEC GetEmployeeDetails;
📌 Stored Procedure with Parameters
CREATE PROCEDURE GetEmployeeByID (@EmpID INT) AS BEGIN SELECT * FROM Employees WHERE EmployeeID = @EmpID; END; 
📌 Executing with a Parameter
EXEC GetEmployeeByID 101; 
3. What Are SQL Functions? Functions return a single value and are used inside queries. Unlike stored procedures, functions cannot modify the database. 📌 Creating a Function
CREATE FUNCTION GetTotalSalary() RETURNS INT AS BEGIN DECLARE @TotalSalary INT; SELECT @TotalSalary = SUM(Salary) FROM Employees; RETURN @TotalSalary; END; 
📌 Calling the Function
SELECT dbo.GetTotalSalary();
4. Differences: Stored Procedures vs FunctionsStored Procedures: Perform multiple actions, support transactions, and can modify data. ✔ Functions: Return a value, are used inside queries, and cannot change database state. ✅ Action Plan for Today: 1️⃣ Create a Stored Procedure that retrieves filtered data. 2️⃣ Write a Function that calculates an aggregate value. 3️⃣ Compare performance differences between functions and stored procedures. Here you can find SQL Interview Resources👇 https://topmate.io/analyst/864764 Like this post if you want me to continue this SQL series 👍♥️ Share with credits: https://t.me/sqlspecialist Hope it helps :)