Coder Social home page Coder Social logo

pewlett-hackard-analysis's Introduction

Pewlett-Hackard-Analysis

Overview and Purpose:

The purpose of this analysis is to create two tables:

  • to determine the number of retiring employees and their position titles,
  • to identify employees who are eligible to participate in a mentorship program.

Results:

An entity relationship diagram was created using quick database diagrams to gather and organize the key elements from various data tables. The data was imported using Postgres and the pgAdmin interface.
SQL queries were written to create data tables by joining primary keys from different data sets together and establishing foreign keys.
SQL queries were created to generate a list of retiring employees by title and a list of employees eligible for mentorship.

  1. Employee database relationship diagram for Pewlett Hackard: Pic 1

  2. A Retirement Titles table was made that holds all the titles of employees who were born between January 1, 1952 and December 31, 1955:

Pic 2

But there were many duplicate entries because some employees had multiple titles in the database.

  1. Using the 'distinct on' SQL script, the duplicates were removed leaving the most recent job title to create a unique list of retiring employees:

Pic 3

  1. Then a Retiring Titles table was created

Pic 4

  1. Finaly a Mentorship-eligibility table was created that holds the current employees who were born between January 1, 1965 and December 31, 1965:

Pic 5

Summary:

How many roles will need to be filled as the "silver tsunami" begins to make an impact?

Thre will be 90,398 vacancies that will need to be filled.

Are there enough qualified, retirement-ready employees in the departments to mentor the next generation of Pewlett Hackard employees?

There are 1,549 employees eligible for mentorship program. There are 90,398 vacancies that will need to be filled. So the gap is significant. It looks like Pewlett Hackard does not have enough retirees to mentor the next generation of employees.

It would be useful to have a query that indicates a list of employees who will be retired for each following year. It could help Pewlett Hackard to prepare better for the "silver tsunami". Also we could create a query that indicates salaries of all retiring employees.

pewlett-hackard-analysis's People

Contributors

akotovets avatar akotovets1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.