Hacker News new | ask | show | jobs
by SkiFire13 70 days ago
> Why don't he use GROUP BY on indexed columns was my first thought also.

Because it has the same issue.

SELECT DISTINCT and GROUP BY are equivalent from a query planner perspective.