The tense is correct (unless the person is still studying at school).
You can also say:
How many years did you go to school for?
or
For how long did you study at school?
11 juillet 2017
0
2
Vous n'avez pas encore trouvé vos réponses ?
Écrivez vos questions et profitez de l'aide des locuteurs natifs !