SQL : How to do a COUNT(DISTINCT) using window functions with a frame in SQL Server

Published --