student selection by school id and teacher id