trainings eager loading - custom query