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:
SELECT
voucherlisttbl_buyername
FROM
((SELECT
DISTINCT VoucherListTbl.BuyerName AS voucherlisttbl_buyername
FROM
VoucherListTbl
WHERE
(
(
(
VoucherListTbl.BuyerName
) <> VoucherListTbl.""
)
))
UNION
DISTINCT (SELECT
DISTINCT VoucherListTbl.BuyerName AS voucherlisttbl_buyername
FROM
VoucherListTbl
WHERE
(((VoucherListTbl.BuyerName) IS NOT NULL)))
) AS union1