Select submissions for rank by problem__code