Domanda di colloquio di Pegasystems

How would you analyze a slow running SQL statement?