Finding Distinct Values Quickly
SQL Performance
MARCH 17, 2020
I will be using the 50GB Stack Overflow 2013 database , but any large table with a low number of distinct values would do. The Stack Overflow 2013 database comes without nonclustered indexes to minimize download time. The code may be easier to read and understand than the recursive CTE. Test Environment. BountyAmount.
Let's personalize your content