Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COUNT(*) with GROUP BY
Message
 
 
To
29/01/2017 15:25:00
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows Server 2012
Miscellaneous
Thread ID:
01647119
Message ID:
01647126
Views:
27
>>You're looking at COUNT DISTINCT (*)
>
>I never like DISTINCT. I found OVER. So far, it provides the same result.

I see, that's a weird query. I am not even sure how it works. COUNT(*) OVER() is supposed to count all rows. Then you GROUP BY.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform