How would you write a query to calculate the percentage of defects closed within SLA for Applied Data Finance?