logoalt Hacker News

SkiFire13 • today at 9:51 AM • 0 replies • view on HN

> 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.