Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TOP 10 within a group
Message
From
15/06/2004 11:55:14
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00913710
Message ID:
00913918
Views:
14
SELECT suppliercode, productcode, dollarsales
	FROM SuppTable 
	WHERE productcode IN ( SELECT TOP 10 productcode
				FROM SuppTable top10
				WHERE top10.suppliercode = SuppTable.suppliercode
				ORDER BY dollarsales DESCENDING )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform