C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




nth max sal


Posted Date: 25 Mar 2007      Total Responses: 2

Posted By: abhay chaturvedi       Member Level: Silver     Points: 2


Dear all,
how to find nth max sal from a employee table having one field sal which contain salary of employee
Abhay




Responses

Author: Sumi Esakkiappan    26 Mar 2007Member Level: SilverRating:     Points: 2
Select * from Employee where salary = (Select max(Salary) from Employee)



Author: RamarajSundaram    26 Mar 2007Member Level: DiamondRating:     Points: 2
select e.sal from emp e where 4=(select count(*) from emp where sal<=e.sal)


Post Reply
You must Sign In to post a response.
Next : Delete Duplicate Row
Previous : insert multiple records at a time to sql server
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

email fax service

Contact Us    Privacy Policy    Terms Of Use