Pregunta de entrevista de Oracle

How would I write a script, troubleshoot database issues