A schoolmaster recently said that out of the 250 pupils he taught the ones who watched TV were undoubtedly the most intelligent.
[解説]thatはsaidが前にあり、文が続いているので代名詞ではなく、接続詞と考えて、that以下にS+Vを見つける。thatから最後のintelligentまで見て、Vを考える。taught,watched,wereの3つの中でどれか。わかるところから処理していくとwhoの節は先行詞the
onesをwho に代入すれば、TVまでで、文が成り立つ。that以下のSはthe ones, Vはwere, the most intelligentをCとすれば第2文型が成り立ちますね。