Skip to content

toluwanimisamuel24/employee_database_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Database SQL Analysis

📌 Project Overview

This repository contains SQL scripts and analysis based on a corporate employee management database. The goal is to demonstrate SQL proficiency through real-world HR analytics use-cases, including:

  • Workforce distribution
  • Department history
  • Job title progression
  • Salary analysis
  • Gender pay gap insights

🛠 Database Tables

Table Description
employees Personal info for each employee
departments Department list
dept_emp Employee ↔ Department history
dept_manager Department manager history
titles Job title history
salaries Salary history

📈 Views

Reusable logical views are stored in views/:

  • dept_emp_latest_date.sql: Latest dept assignment dates
  • current_dept_emp.sql: Current department assignment

Key Skills Demonstrated

  • Relational database design
  • JOINs across multiple tables
  • Views for current-state analysis
  • Aggregations and subqueries
  • Real-world HR and payroll analytics

Key Insights

  • Current workforce distribution
  • Department payroll costs
  • Career progression patterns
  • Gender-based salary comparisons

Tools Used

  • MySQL

About

This project focuses on analyzing an employee database using SQL to answer real-life HR and business questions. The main goal of the project is to practice and demonstrate database querying, data cleaning, and insight generation using structured query language (SQL).

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors