SELECT TOP 5 WITH TIES EmpNumber,EmpName FROM Employee Order By EmpNumber DESC
This above query return more than five result, What is the use of \"Wi
SELECT * from myTable order by rank desc fetch first 3 rows With Ties;
gives
ID NAME Rank -------------------------- 3 Dhoni 1 1 Geeks 2 6 Watson 3 **// We get Tied Row also** 4 Finch 3