Is there a case where adding DISTINCT would change the results of a SELECT query that uses a GROUP BY clause?
Group by and distinct produce similar execution plans.
From my understanding, tables that use a GROUP BY clause can only have columns from the GROUP BY or aggregate functions.
List of aggregate functions appears to be deterministic and combinations from the GROUP BY would be unique so my assumption is that it would be redundant.
EDIT 1: Adding the DISTINCT keyword directly after SELECT. Not anywhere in the query like @lad2025's example: SELECT name, COUNT(DISTINCT col) ... GROUP BY name.