Не попадитесь на накрученные каналы! Узнайте, не накручивает ли канал просмотры или
подписчиков
Проверить канал на накрутку
Телеграм канал «Data Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources»
Data Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources
1.1K
0
106
1
1.6K
Covering all technical and popular stuff about anything related to Data Science: AI, Big Data, Machine Learning, Statistics, general Math and the applications of former.
🎯 This project simulates the SQL work performed by Data Analysts at companies like Swiggy, Zomato, Uber Eats, and DoorDash, making it an excellent portfolio project for analytics interviews.
Learn how hospitals use SQL to analyze patient data, optimize operations, improve resource utilization, and generate healthcare insights.
🎯 Business Objectives
✅ Analyze patient admissions
✅ Monitor doctor performance
✅ Track appointment trends
✅ Measure bed occupancy
✅ Analyze treatment costs
✅ Identify readmitted patients
✅ Calculate average length of stay
✅ Improve hospital efficiency
📂 Step 1: Create Database
CREATE DATABASE hospital_db;
USE hospital_db;
📂 Step 2: Create Patients Table
CREATE TABLE patients (
patient_id INT PRIMARY KEY,
patient_name VARCHAR(100),
gender VARCHAR(10),
age INT,
city VARCHAR(50),
registration_date DATE
);
📂 Step 3: Create Doctors Table
CREATE TABLE doctors (
doctor_id INT PRIMARY KEY,
doctor_name VARCHAR(100),
specialization VARCHAR(100),
department VARCHAR(100)
);
INSERT INTO appointments VALUES
(1001,1,101,'2025-01-05','Completed',800),
(1002,2,104,'2025-01-06','Completed',500),
(1003,3,102,'2025-01-08','Cancelled',700),
(1004,4,103,'2025-01-09','Completed',1000),
(1005,5,101,'2025-01-12','Completed',800);
📂 Step 9: Insert Sample Admissions
INSERT INTO admissions VALUES
(201,1,'2025-01-05','2025-01-10','Heart Surgery',250000),
(202,2,'2025-01-08','2025-01-11','Fever',12000),
(203,3,'2025-01-15','2025-01-22','Fracture',85000),
(204,5,'2025-01-18','2025-01-21','Cardiac Checkup',45000);
🧠 SQL Concepts You'll Practice
✔ DDL & DML
✔ Joins
✔ Aggregate Functions
✔ GROUP BY
✔ HAVING
✔ CASE WHEN
✔ CTEs
✔ Window Functions
✔ Date Functions
✔ Ranking Functions
📊 Business KPIs You Can Build
📈 Total Patients
📈 Total Admissions
📈 Total Appointments
📈 Appointment Completion Rate
📈 Appointment Cancellation Rate
📈 Doctor-wise Patient Count
📈 Department-wise Revenue
📈 Average Consultation Fee
📈 Average Treatment Cost
📈 Average Length of Stay
📈 Daily Patient Admissions
📈 Monthly Admission Trend
📈 Readmission Rate
📈 Bed Occupancy Rate
📈 Top Doctors by Patient Volume
📈 Revenue by Department
📈 Revenue by Doctor
📈 Most Common Diagnosis
📈 Patient Distribution by City
📈 Average Patient Age
🎯 This project reflects the type of SQL analysis performed by Healthcare Analysts, Hospital Operations teams, Business Intelligence Analysts, and Data Analysts working in hospitals and health-tech companies.