Interview Question of the Week #034 – What is the Difference Between Distinct and Group By
Question:Â What is the difference between DISTINCT and GROUP BY? Answer: A DISTINCT and GROUP BY usually generate the same query plan, so performance should be the same across both query constructs. GROUP BY should be used to apply aggregate operators to each group. If all you need is to remove…
Read More

