select A.* from aaa A,(select top 10 a from bbb order by b desc) B
order by B.b DESC