Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving the count from a derived SQL
Message
From
28/03/2010 22:24:14
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01457748
Message ID:
01457764
Views:
23
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform