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 Temmuz 2017
0
2
Hâlâ cevap bulamadın mı?
Sorularını yaz ve ana dil konuşanlar sana yardım etsin!