Pergunta de entrevista da empresa UP Devlabs

How can you optimize the SQL scripts in order to get report generated more efficiently?