It looks like you’re missing the relationship between employees and departments. If an employe BELONGS_TO a department it should have department_id as a foreign key to the departments table. Then a department HAS_MANY employees. Fix your tables and models first, then the list view should retrieve the department WITH its employees.