This project demonstrates how to use SQL to analyze employee and department data using a variety of SQL concepts — from basic queries to advanced window functions.
The goal is to strengthen practical SQL skills while answering real-world business questions.
We used two tables:
- Employees Table: Contains details like First Name, Last Name, Hire Date, Department ID, and Salary.
- Departments Table: Contains Department ID and Department Name (e.g., Sales, IT, Marketing).
- Filter employees by department, hire date, and salary range.
- Sort employees by hire date and salary.
- Count employees and calculate average salaries.
- Group salary data by department and apply filters.
- Combine employee and department data using INNER and LEFT JOINs.
- Use RANK and MAX to analyze salary rankings and department-level insights.
- Get top-paid employees per department, detect duplicate names, and extract year from hire dates.
- SQL (T-SQL / Azure Data Studio / Synapse)
- GitHub for version control and sharing
- Azure or local SQL environment
Zingo_Database_project.ipynb– Main SQL notebookSQL Project: Analyse Employee Data- Project ReportSQLQuery_.sql– SQL Queries fileREADME.md– This documentation file
If you have questions or suggestions, feel free to open an issue or contact me via GitHub.