how to get max two salary and lowest two salary
how to find max 2 salary and lowest 2 salary in two different queries.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Mar 28, 2012, 3:59 AM
Max 2 salaries:
SELECT DISTINCT TOP 2 * FROM SALES ORDER BY Price ASC
If it is useful then mark it as "Accepted Answer"