Write SQL query to solve given problem: Compute the average height of competitors whose age ranges from 22 to 28.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(T1.height) FROM person AS T1 INNER JOIN games_competitor AS T2 ON T1.id = T2.person_id WHERE T2.age BETWEEN 22 AND 28