select id1, text1, text2, comment1, comment2
from
(select top 100
(SELECT COUNT(*) FROM dbo.test_table) as r1,
id as id1,
text as text1,
comment as comment1
from dbo.test_table
order by id,text,comment) A
left join
(select top 100
(SELECT COUNT(*) FROM dbo.test_table) as r2,
id as id2,
text as text2,
comment as comment2
from dbo.test_table
order by id,text,comment) B
on
id1=id2 and r1<>r2