You are on page 1of 2

Name Age Gender Salary

John 25 Male 5000


Emily 28 Female 5500
Sarath 32 Female 6000
Lisa 37 Female 7000
Robert 41 Male 7500
David 45 Male 8000
Michael 50 Male 9000

Employee data
60
50
40
30
20
10
0
John Emily Sarath Lisa Robert David Michael
Average age 36.85714
Average salary 6857.143
Total salary 48000
Employee Count 7
Minimum Age 25
Maximum age 50
Minimum salary 5000
Maximum salary 9000
Median age 37
Median salary 7000
Sum of salaries for male employees 29500
Sum of salaries for male employees below the age of 40 5000
Average salary of female employees 6166.667
Average salary of female employees above the age of 30 6500
Male employees 4
Male employees are below the age of 40 1

You might also like