Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COUNT(*) with GROUP BY
Message
 
 
À
29/01/2017 15:25:00
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows Server 2012
Divers
Thread ID:
01647119
Message ID:
01647126
Vues:
28
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform