Pregunta de entrevista de Pegasystems

How would you analyze a slow running SQL statement?