Which is more efficient?
SELECT theField FROM theTable GROUP BY theField
or
SELECT DISTINCT theField FROM theTable
In most cases, DISTINCT and GROUP BY generate the same plans, and their performance is usually identical