I have a question for english here it is
Thomas went to school, but he had not studied.

Which shows the best way to change this compound sentence into two simple sentences?