Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving the count from a derived SQL
Message
 
 
À
28/03/2010 22:24:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01457748
Message ID:
01457768
Vues:
25
>>Try
>>SELECT Temp.NoThread, (SELECT COUNT(*) FROM Thread WHERE NoThread = Temp.NoThread)
>>FROM 
>>(SELECT Top 10 NoThread FROM Thread ORDER BY Numero DESC) Temp
>>
>
>This one turns out to be much simpler. Thanks

You're welcome
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform