Query for retrieving top two rows from a table in SQL Server
Posted
by Praveen
on Stack Overflow
See other posts from Stack Overflow
or by Praveen
Published on 2010-03-15T04:08:09Z
Indexed on
2010/03/15
4:09 UTC
Read the original article
Hit count: 212
sql
Hi All,
I have a table called Employee
with EmpID,Salary,Name fields.
I want to get top two employees with maximum salary.
How can i write this query ?
© Stack Overflow or respective owner