Write SQL query to solve given problem: What is the average rating for each episode in season 9?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(rating) / COUNT(episode_id) FROM Episode WHERE season = 9