MessageAccording to,
DISTINCT is converted to a GROUP BY on all columns, DISTINCT combined with
ORDER BY will in many cases also need a temporary table.

Instead of using DISTINCT, consider adding GROUP BY for all the columns
except ID.

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to