Pregunta de entrevista de Derivco

How would you optimize a slow query?