let me particularize on the matter. Sentential relative clauses, unlike other types of relative clause that have a noun phrase as antecedent, refer back to the long verb phrase of the sentence (also known as the predicate), as in
They say he enjoys the lessons, which he doesn't.
Besides, they also can refer to the whole clause, ie