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 table1_idx_field8_field6 ON TABLE1 (FIELD8,FIELD6);
CREATE INDEX table2_idx_field6 ON TABLE2 (FIELD6);
SELECT
TABLE1.FIELD1,
TABLE1.FIELD2,
TABLE1.FIELD3,
TABLE1.FIELD4,
TABLE1.FIELD5,
TABLE2.FIELD6,
TABLE2.FIELD7
FROM
TABLE1,
TABLE2
WHERE
TABLE1.FIELD8 = 'value'
AND TABLE2.FIELD6 = TABLE1.FIELD6