students can not be zero because if there is no solution the problem_id will not be in solutions table !! @AhmedElassuty