Spring jpa query join multiple tables. department, we should use the JOIN keyword in our query.