had to do sth 改为一般疑问句

问题描述:

had to do sth 改为一般疑问句
sb,have(has.had) to do sth 不得不做某事.改为一般疑问句怎么改?示例:He had to go to school.

do或does或did sb have to do sth?
Did he have to go to school?