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:
ALTER TABLE `Emptable` ADD INDEX `emptable_idx_empdate` (`EmpDate`);
SELECT
A.Emptable.EmpName,
A.Emptable.EmpSal,
A.Emptable.EmpDate
FROM
A.Emptable
WHERE
A.Emptable.EmpDate > '2015-01-01'
UNION
ALL SELECT
B.Emptable.EmpName,
B.Emptable.EmpSal,
B.Emptable.EmpDate
FROM
B.Emptable
WHERE
B.Emptable.EmpDate > '2015-01-01'
UNION
ALL SELECT
C.Emptable.EmpName,
C.Emptable.EmpSal,
C.Emptable.EmpDate
FROM
C.Emptable
WHERE
C.Emptable.EmpDate > '2015-01-01'