repository description Employee Database Management System using MySQL. Includes SQL queries for employee data analysis, department-wise salary analysis, joins, subqueries, aggregate functions, and views.
This project focuses on designing and analyzing an Employee Database Management System using MySQL. It contains employee and department information and demonstrates how SQL can be used to organize, retrieve, filter, and analyze business data.
The project is designed to strengthen practical SQL skills and demonstrate database management and data analysis techniques.
- Create and manage an employee database.
- Store employee and department information.
- Analyze employee salaries and department performance.
- Retrieve meaningful insights using SQL queries.
- Understand relationships between multiple tables.
- MySQL
- MySQL Workbench
- SQL
1. Employees Table
- EmployeeID
- Name
- DepartmentID
- Salary
- City
- JoinDate
2. Departments Table
- DepartmentID
- DepartmentName
- Database and Table Creation
- INSERT, SELECT and WHERE
- ORDER BY and LIMIT
- GROUP BY and HAVING
- Aggregate Functions (COUNT, SUM, AVG, MAX, MIN)
- INNER JOIN, LEFT JOIN and RIGHT JOIN
- Subqueries
- Views
- Filtering and Sorting
- Department-wise Employee Analysis
- Salary Analysis
- Total employees in each department.
- Average salary by department.
- Highest and lowest salary by department.
- Top 3 highest-paid employees.
- City-wise employee distribution.
- Employees earning above average salary.
- Department-wise salary comparison.
- Employee details using SQL JOIN operations.
This project helped me develop practical experience in SQL queries, relational database management, data filtering, aggregation, and multi-table analysis.
EmployeeDB_Project.sql– Complete SQL script.Screenshots/– MySQL Workbench project screenshots.
Shubham Kumar
Aspiring Data Analyst | SQL | Python | Excel | Power BI