Pregunta de entrevista de Riskified

write sql query based on kpis defined by diagram