In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
CREATE INDEX employee_idx_rownum_employee_xx ON employee (rownum,employee_id,xx);
SELECT
employee.time_to_complete
FROM
employee
WHERE
employee.employee_id = employee.xx
AND employee.rownum = 1
ORDER BY
s.no DESC