- You might not want to know which student came. It would upset you.
- You might not wonder which student came. It would upset you.
I'm investigating the difference of meaning between wonder and want to know.
Sentence 1 should be no problem with an interpretation suggesting that the listener might not want to know (= think about, ask him/herself) who came, because if the listener finds out the answer, it would upset he/her. The pronoun it denotes the answer to the question who came.
But do you think sentence 2 has such interpretation too? (Not a native speaker myself.)
Best Answer
"Wonder" as a verb is defined by Google as
It has two more definitions: "feeling doubtful" and lastly "feeling admiration" towards something/someone.
Your sentence implies the simple meaning of wanting to know the information. So definitely the first sentence is grammatically correct.
The second sentence is incorrect because the context of the word wonder is incorrect and it too does not fit correctly. But the sentence can be modified as