Skip to content

Data Engineering and Data Analysis: designing the tables to hold data in the CSVs, import the CSVs into a SQL database, and answer questions about the data.

Notifications You must be signed in to change notification settings

KateBessonova/Employee-Database-with-SQL-data-Analysis-data-Engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

sql-challenge

Complete a research project on employees database of the corporation from the 1980s and 1990s. All that remain of the database of employees from that period are six CSV files.

Design the tables to hold data in the CSVs, import the CSVs into a SQL database, and answer questions about the data. In other words, perform the following:

Data Modeling

Data Engineering

Data Analysis

  1. Data Modeling Inspecting the CSVs and sketching out an ERD of the tables using the app QuickDBD image

2.Data Engineering

Using the created diagram from the QuickDBD to create a table for each of the six CSV files.

Remember specifying data types, primary keys, foreign keys, and other constraints.

Importing each CSV file into the corresponding SQL table.

3.Data Analysis

-- 1. List the following details of each employee: employee number, last name, first name, gender, and salary.

-- 2. List employees who were hired in 1986.

-- 3. List the manager of each department with the following information: department number, department name, the manager's employee number, last name, first name, and start and end employment dates.

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

-- 5. List all employees whose first name is "Hercules" and last names begin with "B."

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

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

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

About

Data Engineering and Data Analysis: designing the tables to hold data in the CSVs, import the CSVs into a SQL database, and answer questions about the data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published