You are on page 1of 4

Sr.

No Employee Department
1 Sarah, john Sarah, john Sarah, John IT
2 Trey, Monika Trey, Monika Trey, Monika IT
3 Stacey joE Stacey joE Stacey Joe Advertising
4 Randell, NaDal Randell, NaDal Randell, Nadal HR
5 Carol, sMith Carol, sMith Carol, Smith HR
6 Addison, KEN Addison, KEN Addison, Ken Accounting
7 Heath, Streat Heath, Streat Heath, Streat Advertising
8 Alexis, DoUGles Alexis, DoUGles Alexis, Dougles Accounting
9 Reagan, RojEr Reagan, RojEr Reagan, Rojer IT
10 FLINTSTONE, FRED FLINTSTONE, FRED Flintstone, Fred HR
11 Harmon, anGIE Harmon, anGIE Harmon, Angie Accounting
12 allen, lee allen, lee Allen, Lee Project
13 FiFe, BaRnEy FiFe, BaRnEy Fife, Barney Project
14 Kerns, bRad Kerns, bRad Kerns, Brad HR
15 maLoney, joE maLoney, joE Maloney, Joe Project
16 martin, STEVE martin, STEVE Martin, Steve Advertising
17 pItT, sHeLlEy pItT, sHeLlEy Pitt, Shelley Accounting
18 FREEMAN, morgan FREEMAN, morgan Freeman, Morgan Project
19 jolie, ANGELINA jolie, ANGELINA Jolie, Angelina Project
20 PARTRIDE, SUSAN PARTRIDE, SUSAN Partride, Susan Project
21 BraDY, MARcia BraDY, MARcia Brady, Marcia Project
22 diamond, NEIL diamond, NEIL Diamond, Neil Project
23 moore, julianne moore, julianne Moore, Julianne Project
24 SmiTH, STEVEn SmiTH, STEVEn Smith, Steven Project
25 WILLiams, andy WILLiams, andy Williams, Andy Accounting
26 smith, AMY smith, AMY Smith, Amy Project
Salary Region DOS Sr.No. Department
22942 East 1/10/2018 1 Sarah, John
20023 East 1/10/2018 2 Trey, Monika
29605 East 1/10/2018 3 Stacey Joe
28583 East 1/10/2018 4 Randell, Nadal
26396 East 1/10/2018 5 Carol, Smith
33884 South 5/10/2018 6 Addison, Ken
14506 South 5/10/2018 7 Heath, Streat
16485 South 5/10/2018 8 Alexis, Dougles
21258 West 30/9/2018 9 Reagan, Rojer
18236 West 30/9/2018 10 Flintstone, Fred
23783 West 30/9/2018 11 Harmon, Angie
28780 East 1/10/2018 12 Allen, Lee
14180 East 1/10/2018 13 Fife, Barney
32966 East 1/10/2018 14 Kerns, Brad
34995 East 1/10/2018 15 Maloney, Joe
21758 North 7/10/2018 16 Martin, Steve
14982 North 7/10/2018 17 Pitt, Shelley
32879 North 7/10/2018 18 Freeman, Morgan
10392 North 7/10/2018 19 Jolie, Angelina
22475 North 7/10/2018 20 Partride, Susan
28115 East 1/10/2018 21 Brady, Marcia
10175 East 1/10/2018 22 Diamond, Neil
27940 East 1/10/2018 23 Moore, Julianne
33939 East 1/10/2018 24 Smith, Steven
32171 South 5/10/2018 25 Williams, Andy
28616 South 5/10/2018 26 Smith, Amy

Number of employees
having salary less than
16000 21

Number of employees
whose salaries are
between 12000 &
20000 5

Calculate the number


of employees who are
not in the IT
department 23

Highest Salary 34995


Least Salary 10175
IT 21407.6666666667
Advertising 21956.3333333333
HR 26545.25
Project 24771.4545454545
Accounting 24261

Number of employees
who have salary greater
than Regeans Salary 17

Calculate the sum of all


salaries greater than
15000 565829

Calculate the sum of all


salaries of the IT
department 64223

Calculate the sum of all


salaries that are below
average salaries 231195

Calculate the sum of


salaries of HR and
accounting
Departments 227486

Number of employees
who are from Project or
IT Department 14
Department First Name of Last Name of Salary
Sarah, John Sarah John 22942
Trey, Monika Trey Monika 20023
Stacey Joe Stacey Joe 29605
Randell, Nadal Randell Nadal 28583
Carol, Smith Carol Smith 26396
Addison, Ken Addison Ken 33884
Heath, Streat Heath Streat 14506
Alexis, Dougles Alexis Dougles 16485
Reagan, Rojer Reagan Rojer 21258
Flintstone, Fred Flintstone Fred 18236
Harmon, Angie Harmon Angie 23783
Allen, Lee Allen Lee 28780
Fife, Barney Fife Barney 14180
Kerns, Brad Kerns Brad 32966
Maloney, Joe Maloney Joe 34995
Martin, Steve Martin Steve 21758
Pitt, Shelley Pitt Shelley 14982
Freeman, Morgan Freeman Morgan 32879
Jolie, Angelina Jolie Angelina 10392
Partride, Susan Partride Susan 22475
Brady, Marcia Brady Marcia 28115
Diamond, Neil Diamond Neil 10175
Moore, Julianne Moore Julianne 27940
Smith, Steven Smith Steven 33939
Williams, Andy Williams Andy 32171
Smith, Amy Smith Amy 28616

number of employees in

IT 3

Advertising 3
Project 11
HR 4

You might also like