Write SQL query to solve given problem: Calculate the total salary for employees who did inspection from ID 52270 to 52272.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(T2.salary) FROM inspection AS T1 INNER JOIN employee AS T2 ON T1.employee_id = T2.employee_id WHERE T1.inspection_id BETWEEN 52270 AND 52272