I am looking for an implementation of group by, having and then filter based on count in lambda expressions.
select COUNT(employee_id), department_id from employee
GROUP BY department_id
HAVING COUNT(employee_id) > 1
Is there any simple implementation of achieving this using lambda expressions.