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
Check this query and will be more clear.
SELECT TOP 5 WITH TIES * FROM MyTable ORDER BY ID;
RESULT:- 1 2 3 4 5 5
SELECT TOP 5 * FROM MyTable ORDER BY ID;
RESULT:- 1 2 3 4 5