ROW_NUMBER() je pro tento typ věcí velmi užitečné.
http://msdn.microsoft.com/en-us/library/ms186734 .aspx
SELECT * FROM (
SELECT
ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ID) as RowNum,
ID,
Column1
FROM
Table
) MyData
WHERE RowNum < 10