Sample employee data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one fictional employee: department, job title, hire date, salary, office, manager and performance rating. The first eight rows are department heads; everyone else reports to a manager_id in the file.
First rows
point at a column to light it up
| employee_idtext | first_nametext | last_nametext | emailtext | departmenttext | job_titletext | hire_datedate | salarynumber | locationtext | manager_idtext | employment_typetext | performance_ratingnumber |
|---|---|---|---|---|---|---|---|---|---|---|---|
| E1001 | Patricia | Anderson | patricia.anderson0@example.com | Sales | Head of Sales | 2015-11-17 | 132300 | Austin | Full-time | 3 | |
| E1002 | Priya | Khan | priya.khan@example.com | Engineering | Head of Engineering | 2014-01-09 | 222800 | New York | Full-time | 3 | |
| E1003 | Thomas | Robinson | thomas.robinson@example.com | Marketing | Head of Marketing | 2013-03-14 | 141800 | Atlanta | Full-time | 4 | |
| E1004 | Kimberly | Lopez | kimberly.lopez@example.com | Finance | Head of Finance | 2014-08-24 | 162000 | New York | Full-time | 3 | |
| E1005 | Emma | Jackson | emma.jackson@example.com | Human Resources | Head of Human Resources | 2024-11-24 | 132300 | Atlanta | Full-time | 4 | |
| E1006 | Joseph | Johnson | joseph.johnson@example.com | Operations | Head of Operations | 2020-03-08 | 137700 | Denver | Full-time | 4 | |
| E1007 | Priya | Gonzalez | priya.gonzalez@example.com | Customer Support | Head of Customer Support | 2022-10-27 | 110700 | Chicago | Full-time | 3 | |
| E1008 | Mary | Moore | mary.moore7@example.com | IT | Head of IT | 2013-03-14 | 159300 | Austin | Full-time | 3 | |
| E1009 | Eric | King | eric.king@example.com | Marketing | Content Strategist | 2017-02-18 | 88600 | Chicago | E1003 | Full-time | 4 |
| E1010 | Samuel | Adams | samuel.adams@example.com | Finance | Finance Manager | 2012-10-08 | 81700 | Austin | E1004 | Full-time | 2 |
Headcount by department
employees, 1,000-row file
Show as a table
| department | value |
|---|---|
| Engineering | 231 |
| Sales | 157 |
| Customer Support | 157 |
| Operations | 138 |
| Finance | 98 |
| Marketing | 92 |
| IT | 73 |
| Human Resources | 54 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| employee_id | text | Employee number |
| first_name | text | Fictional first name |
| last_name | text | Fictional last name |
| text | Work email (example.com, not real) | |
| department | text | One of 8 departments |
| job_title | text | Job title within the department |
| hire_date | date | Start date (2012-2024) |
| salary | integer | Annual base salary (USD, fictional) |
| location | text | Office city |
| manager_id | text | employee_id of the manager (blank for department heads) |
| employment_type | text | Full-time, Part-time or Contract |
| performance_rating | integer | 1 (low) to 5 (high) |
Practice questions
answers checked in SQL and in Python
How many employees are in each department?
Engineering 231; Customer Support 157; Sales 157; Operations 138; Finance 98; Marketing 92; IT 73; Human Resources 54
Excel
=COUNTIF(E:E,"Engineering")SQL
SELECT department, COUNT(*) AS n FROM employees GROUP BY department ORDER BY n DESC, departmentFile: employees-1000
Average salary of full-time employees by department (rounded to the dollar)?
Engineering $121,001; Finance $89,073; IT $82,218; Marketing $77,458; Sales $75,110; Human Resources $74,481; Operations $72,040; Customer Support $67,499
Excel
=AVERAGEIFS(H:H,E:E,"Sales",K:K,"Full-time")SQL
SELECT department, ROUND(AVG(salary)) AS avg_salary FROM employees WHERE employment_type='Full-time' GROUP BY department ORDER BY avg_salary DESC, departmentFile: employees-1000
How many people were hired in 2020 or later?
396 employees
Excel
=COUNTIFS(G:G,">="&DATE(2020,1,1))SQL
SELECT COUNT(*) FROM employees WHERE hire_date >= '2020-01-01'File: employees-1000
What share of employees have a performance rating of 4 or 5?
38.9%
Excel
=COUNTIF(L:L,">=4")/COUNTA(A2:A1001)SQL
SELECT ROUND(100.0*SUM(performance_rating>=4)/COUNT(*),1) FROM employeesFile: employees-1000