This article explains that GROUP BY is faster than DISTINCT https://sqlperformance.com/2017/01/t-sql-queries/surprises-assumptions-group-by-distinct
Why doesn\'t the impl