I have an employee table, dependent table
employee table
- empid
- empname
- status(working,retired,deceased,terminated)
Dependent
- id
- empid
- name
- relationtoemp
- age....etc
Now, i want to query to get the count of total employees, count of total employees in each status(working,retired..), count of all dependants for all employees
Any help?