finish teacher score query