Skip to content

I conducted data modeling by creating an ERD, and data engineering and analysis with query using postgreSQL. Then, I visualized the data using Pandas.

Notifications You must be signed in to change notification settings

yukiekajita/SQL-Database-Management-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Database Management Project

Data Modeling

I inspected the CSV files that I obtained for the project, and sketched out an Entity Relationship Diagram (ERD). I used a tool: http://www.quickdatabasediagrams.com, to create the diagram.

  • ERD Image

Employee_ERD

Data Engineering

  • I created a table schema for each of the six CSV files with specifying data types, primary keys, foreign keys, and other constraints.

  • Imported each CSV file into the corresponding SQL table using postgreSQL.

Data Analysis with Query

  1. I listed the following details of each employee: employee number, last name, first name, sex, and salary.

  2. I listed first name, last name, and hire date for employees who were hired in 1986.

  3. I listed the manager of each department with the following information: department number, department name, the manager's employee number, last name, first name.

  4. I listed the department of each employee with the following information: employee number, last name, first name, and department name.

  5. I listed first name, last name, and sex for employees whose first name is "Hercules" and last names begin with "B."

  6. I listed all employees in the Sales department, including their employee number, last name, first name, and department name.

  7. I listed all employees in the Sales and Development departments, including their employee number, last name, first name, and department name.

  8. In descending order, I listed the frequency count of employee last names, i.e., how many employees share each last name.

Extra

  1. I imported the SQL database into Python-Pandas.

  2. I created a histogram to visualize the most common salary ranges for the employees.

  • Histogram Image

Histogram

  1. I created a bar chart of the average salary by job titles.
  • Bar Chart Image

Bar_Chart

Epilogue

Searched ID number: 499942.

  • ID 499942 Information

Epiloque_Image

Enjoy!

About

I conducted data modeling by creating an ERD, and data engineering and analysis with query using postgreSQL. Then, I visualized the data using Pandas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy