Data Science Jobs
7.84K subscribers
217 photos
1 video
42 files
715 links
Join this channel to get job & internship updates related to data science, machine learning data engineering, artificial intelligence & data analytics fields.
Download Telegram
5โƒฃ frequently Asked SQL Interview Questions with Answers in data analyst interviews

๐Ÿ“1. Write a SQL query to find the average purchase amount for each customer. Assume you have two tables: Customers (CustomerID, Name) and Orders (OrderID, CustomerID, Amount).

SELECT c.CustomerID, c. Name, AVG(o.Amount) AS AveragePurchase
FROM Customers c
JOIN Orders o ON c.CustomerID = o.CustomerID
GROUP BY c.CustomerID, c. Name;


๐Ÿ“2. Write a query to find the employee with the minimum salary in each department from a table Employees with columns EmployeeID, Name, DepartmentID, and Salary.

SELECT e1.DepartmentID, e1.EmployeeID, e1 .Name, e1.Salary
FROM Employees e1
WHERE Salary = (SELECT MIN(Salary) FROM Employees e2 WHERE e2.DepartmentID = e1.DepartmentID);

๐Ÿ“3. Write a SQL query to find all products that have never been sold. Assume you have a table Products (ProductID, ProductName) and a table Sales (SaleID, ProductID, Quantity).

SELECT p.ProductID, p.ProductName
FROM Products p
LEFT JOIN Sales s ON p.ProductID = s.ProductID
WHERE s.ProductID IS NULL;

๐Ÿ“4. Given a table Orders with columns OrderID, CustomerID, OrderDate, and a table OrderItems with columns OrderID, ItemID, Quantity, write a query to find the customer with the highest total order quantity.

SELECT o.CustomerID, SUM(oi.Quantity) AS TotalQuantity
FROM Orders o
JOIN OrderItems oi ON o.OrderID = oi.OrderID
GROUP BY o.CustomerID
ORDER BY TotalQuantity DESC
LIMIT 1

;

๐Ÿ“5. Write a SQL query to find the earliest order date for each customer from a table Orders (OrderID, CustomerID, OrderDate).


SELECT CustomerID, MIN(OrderDate) AS EarliestOrderDate
FROM Orders
GROUP BY CustomerID


Hope it helps :)
โค2
๐Ÿฑ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—š๐—ผ๐—ผ๐—ด๐—น๐—ฒ ๐—”๐—œ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜๐—ผ ๐—ž๐—ถ๐—ฐ๐—ธ๐˜€๐˜๐—ฎ๐—ฟ๐˜ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—”๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ถ๐—ฎ๐—น ๐—œ๐—ป๐˜๐—ฒ๐—น๐—น๐—ถ๐—ด๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ๐Ÿ˜

๐ŸŽ“ You donโ€™t need to break the bank to break into AI!๐Ÿชฉ

If youโ€™ve been searching for beginner-friendly, certified AI learningโ€”Google Cloud has you covered๐Ÿค๐Ÿ‘จโ€๐Ÿ’ป

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/3SZQRIU

๐Ÿ“All taught by industry-leading instructorsโœ…๏ธ
โค1
๐—ง๐—ผ๐—ฝ ๐Ÿฑ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—ž๐—ฎ๐—ด๐—ด๐—น๐—ฒ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐˜๐—ผ ๐—๐˜‚๐—บ๐—ฝ๐˜€๐˜๐—ฎ๐—ฟ๐˜ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ๐Ÿ˜

Want to break into Data Science but not sure where to start?๐Ÿš€

These free Kaggle micro-courses are the perfect launchpad โ€” beginner-friendly, self-paced, and yes, they come with certifications!๐Ÿ‘จโ€๐ŸŽ“๐ŸŽŠ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4l164FN

No subscription. No hidden fees. Just pure learning from a trusted platformโœ…๏ธ
๐Ÿฑ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ + ๐—Ÿ๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—œ๐—ป ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ ๐—˜๐˜€๐˜€๐—ฒ๐—ป๐˜๐—ถ๐—ฎ๐—น ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐˜๐—ผ ๐—•๐—ผ๐—ผ๐˜€๐˜ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ฅ๐—ฒ๐˜€๐˜‚๐—บ๐—ฒ๐Ÿ˜

Ready to upgrade your career without spending a dime?โœจ๏ธ

From Generative AI to Project Management, get trained by global tech leaders and earn certificates that carry real value on your resume and LinkedIn profile!๐Ÿ“ฒ๐Ÿ“Œ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/469RCGK

Designed to equip you with in-demand skills and industry-recognised certifications๐Ÿ“œโœ…๏ธ
๐Ÿ”ฐ C++ Roadmap for Beginners 2025
โ”œโ”€โ”€ ๐Ÿง  Introduction to C++ & How It Works
โ”œโ”€โ”€ ๐Ÿงฐ Setting Up Environment (IDE, Compiler)
โ”œโ”€โ”€ ๐Ÿ“ Basic Syntax & Structure
โ”œโ”€โ”€ ๐Ÿ”ข Variables, Data Types & Constants
โ”œโ”€โ”€ โž• Operators (Arithmetic, Relational, Logical, Bitwise)
โ”œโ”€โ”€ ๐Ÿ” Flow Control (if, else, switch)
โ”œโ”€โ”€ ๐Ÿ”„ Loops (for, while, do...while)
โ”œโ”€โ”€ ๐Ÿงฉ Functions (Declaration, Definition, Recursion)
โ”œโ”€โ”€ ๐Ÿ“ฆ Arrays, Strings & Vectors
โ”œโ”€โ”€ ๐Ÿงฑ Pointers & References
โ”œโ”€โ”€ ๐Ÿงฎ Dynamic Memory Allocation (new, delete)
โ”œโ”€โ”€ ๐Ÿ— Structures & Unions
โ”œโ”€โ”€ ๐Ÿ› Object-Oriented Programming (Classes, Objects, Inheritance, Polymorphism)
โ”œโ”€โ”€ ๐Ÿ“‚ File Handling in C++
โ”œโ”€โ”€ โš ๏ธ Exception Handling
โ”œโ”€โ”€ ๐Ÿง  STL (Standard Template Library - vector, map, set, etc.)
โ”œโ”€โ”€ ๐Ÿงช Mini Projects (Bank System, Student Record, etc.)

Like for the detailed explanation โค๏ธ

#c #programming
โค4
๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—›๐—ฎ๐—ฟ๐˜ƒ๐—ฎ๐—ฟ๐—ฑ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐—ด๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ๐˜€ ๐—ถ๐—ป ๐—ง๐—ฒ๐—ฐ๐—ต (๐—ก๐—ผ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ก๐—ฒ๐—ฒ๐—ฑ๐—ฒ๐—ฑ!)๐Ÿ˜

Dreaming of learning from Harvard โ€” without spending a rupee?๐Ÿ’ฐ

Youโ€™re in luck! These 4 beginner-friendly courses from Harvard University are completely free, self-paced, & beginner-approved๐Ÿ‘จโ€๐ŸŽ“๐Ÿ“Œ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/44pDCYd

Taught by world-class professors!โœ…๏ธ
โค3
We're Hiring: Data Scientist at RBL Bank!

Are you passionate about turning data into insights and impact? We're on the lookout for a Data Scientist who brings hands-on experience in Python, SQL, and Tableau to join our dynamic and fast-growing analytics team.

What Youโ€™ll Be Doing:

Translating complex business problems into data-driven solutions
Creating insightful dashboards, reports, and machine learning models
Collaborating closely with cross-functional teams to enable smarter decisions
What Weโ€™re Looking For:

Proficiency in Python (Pandas, scikit-learn, etc.)
Strong command over SQL for data extraction and transformation
Experience with Tableau or any other BI tools for visual storytelling
If this sounds like you โ€” or someone you know โ€” feel free to DM or send your resume to amit.singh8@rblbank.com.
โค2
๐„๐ฑ๐œ๐ข๐ญ๐ข๐ง๐  ๐Ž๐ฉ๐ฉ๐จ๐ซ๐ญ๐ฎ๐ง๐ข๐ญ๐ฒ ๐š๐ญ ๐€๐ž๐ซ๐ž๐จ โ€“ ๐–๐žโ€™๐ซ๐ž ๐‡๐ข๐ซ๐ข๐ง๐  ๐š ๐ƒ๐š๐ญ๐š ๐’๐œ๐ข๐ž๐ง๐œ๐ž ๐ˆ๐ง๐ญ๐ž๐ซ๐ง! ๐Ÿš€

Are you looking for a hands-on learning experience in ๐€๐ˆ/๐Œ๐‹, ๐Ÿ๐ƒ / ๐Ÿ‘๐ƒ ๐‚๐จ๐ฆ๐ฉ๐ฎ๐ญ๐ž๐ซ ๐ฏ๐ข๐ฌ๐ข๐จ๐ง, ๐š๐ง๐ ๐†๐ž๐ง๐ž๐ซ๐š๐ญ๐ข๐ฏ๐ž ๐€๐ˆ?

Weโ€™re expanding our team and seeking Data Science Interns. If youโ€™re passionate about ๐ฅ๐ž๐ฏ๐ž๐ซ๐š๐ ๐ข๐ง๐  ๐€๐ˆ ๐ญ๐จ ๐ซ๐ž๐ฏ๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง๐ข๐ณ๐ž ๐๐ซ๐จ๐ง๐ž๐ฌ, ๐ฆ๐š๐ฉ๐ฉ๐ข๐ง๐ , ๐ฌ๐ฎ๐ซ๐ฏ๐ž๐ฒ๐ข๐ง๐ , ๐ฆ๐ข๐ง๐ข๐ง๐ , ๐š๐ง๐ ๐ข๐ง๐Ÿ๐ซ๐š๐ฌ๐ญ๐ซ๐ฎ๐œ๐ญ๐ฎ๐ซ๐ž ๐š๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌโ€”and you have strong skills in Python, Deep learning, and Computer Visionโ€”letโ€™s connect.
https://aus.keka.com/careers/jobdetails/86596
โค1
Forwarded from Python for Data Analysts
๐Ÿฑ ๐—™๐—ฅ๐—˜๐—˜ ๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐—ด๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ๐˜€ ๐—ฏ๐˜† ๐—›๐—ฎ๐—ฟ๐˜ƒ๐—ฎ๐—ฟ๐—ฑ, ๐—œ๐—•๐— , ๐—จ๐—ฑ๐—ฎ๐—ฐ๐—ถ๐˜๐˜† & ๐— ๐—ผ๐—ฟ๐—ฒ๐Ÿ˜

Looking to learn Python from scratchโ€”without spending a rupee? ๐Ÿ’ป

Offered by trusted platforms like Harvard University, IBM, Udacity, freeCodeCamp, and OpenClassrooms, each course is self-paced, easy to follow, and includes a certificate of completion๐Ÿ”ฅ๐Ÿ‘จโ€๐ŸŽ“

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/3HNeyBQ

Kickstart your careerโœ…๏ธ
โค3
Forwarded from Data Analyst Jobs
American Express is hiring Analyst ๐Ÿš€

Qualification : Post Graduation
Experience : 0-2 Years
Location : Bangalore / Gurugram

Apply link : https://aexp.eightfold.ai/careers/job/29724854?hl=en&utm_source=linkedin&domain=aexp.com

๐Ÿ‘‰ WhatsApp Channel: https://whatsapp.com/channel/0029VaI5CV93AzNUiZ5Tt226

๐Ÿ‘‰ Telegram Channel: https://t.me/addlist/4q2PYC0pH_VjZDk5

All the best! ๐Ÿ‘๐Ÿ‘
โค1
Forwarded from Python for Data Analysts
๐Ÿญ๐Ÿฌ ๐—ฅ๐—ฒ๐—ฎ๐—น ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€ & ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—”๐—ป๐˜€๐˜„๐—ฒ๐—ฟ ๐—ง๐—ต๐—ฒ๐—บ ๐—Ÿ๐—ถ๐—ธ๐—ฒ ๐—ฎ ๐—ฃ๐—ฟ๐—ผ๐Ÿ˜

๐Ÿ’ผ Data Analytics interviews can feel overwhelming โœจ๏ธ

Youโ€™re expected to know SQL, Python, Excel, Power BI, and be ready with real-world logic๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ“Œ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/3HSnvtq

Enjoy Learning โœ…๏ธ
Forwarded from Python for Data Analysts
๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—ฆ๐—ค๐—Ÿ ๐—–๐—ฎ๐—ป ๐—•๐—ฒ ๐—™๐˜‚๐—ป! ๐Ÿฐ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—น๐—ฎ๐˜๐—ณ๐—ผ๐—ฟ๐—บ๐˜€ ๐—ง๐—ต๐—ฎ๐˜ ๐—™๐—ฒ๐—ฒ๐—น ๐—Ÿ๐—ถ๐—ธ๐—ฒ ๐—ฎ ๐—š๐—ฎ๐—บ๐—ฒ๐Ÿ˜

Think SQL is all about dry syntax and boring tutorials? Think again.๐Ÿค”

These 4 gamified SQL websites turn learning into an adventure โ€” from solving murder mysteries to exploring virtual islands, youโ€™ll write real SQL queries while cracking clues and completing missions๐Ÿ“Š๐Ÿ“Œ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4nh6PMv

These platforms make SQL interactive, practical, and funโœ…๏ธ
1. What are the ways to detect outliers?

Outliers are detected using two methods:

Box Plot Method: According to this method, the value is considered an outlier if it exceeds or falls below 1.5*IQR (interquartile range), that is, if it lies above the top quartile (Q3) or below the bottom quartile (Q1).

Standard Deviation Method: According to this method, an outlier is defined as a value that is greater or lower than the mean ยฑ (3*standard deviation).


2. What is a Recursive Stored Procedure?

A stored procedure that calls itself until a boundary condition is reached, is called a recursive stored procedure. This recursive function helps the programmers to deploy the same set of code several times as and when required.


3. What is the shortcut to add a filter to a table in EXCEL?

The filter mechanism is used when you want to display only specific data from the entire dataset. By doing so, there is no change being made to the data. The shortcut to add a filter to a table is Ctrl+Shift+L.

4. What is DAX in Power BI?

DAX stands for Data Analysis Expressions. It's a collection of functions, operators, and constants used in formulas to calculate and return values. In other words, it helps you create new info from data you already have.
โค1๐Ÿ‘1