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?
July 11, 2017
0
2
Still haven’t found your answers?
Write down your questions and let the native speakers help you!