public List<Employee> getEmployeesWithSallaryHigherThenAvgSallaryInDepartment()
	{
		TypedQuery<Employee> query = manager.createQuery("SELECT e FROM Employee e WHERE e.sallary > (SELECT AVG(emps.sallary) FROM Employee emps WHERE emps.department = e.department)", Employee.class);
		
		return query.getResultList();
	}