Write SQL query to solve given problem: Find the average ride duration during the rain of more than 0.8 inches.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(T1.duration) FROM trip AS T1 INNER JOIN weather AS T2 ON T2.zip_code = T1.zip_code WHERE (T2.events = 'Rain' AND T2.precipitation_inches > 0.8) OR (T2.events = 'rain' AND T2.precipitation_inches > 0.8)