Databases / SQL Server Count Distinct and Window Functions In today’s example we are going to see how to solve the following error using Count Distinct and Window Functions. It is an error that we have had with some …