One table named as employee has 3 columns (name, salary, department). I need to retrieve the employees whose salary is greater than average salary of their department.
that is
name salary department
iioo 10000 Technical
aaaa 15000 HR
pppp 17000 HR
wwww 20000 Technical
I need to get employee details whose salary is greater than average salary of their department. kindly help me out
Software/Hardware used:
Sql server
ASKED:
December 9, 2009 12:46 PM
UPDATED:
December 15, 2009 2:16 PM
We don’t do homework here.
Sorry.
Hey – if you won’t do my homework, how about some us my housework?