top n with ties

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

declare @numbers table(nums integer);
insert into @numbers  values (10), (9), (8), (8), (2), (10);
 
select top 3 WITH TIES * from @numbers order by nums

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results