TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to get the second highest from a Table
Dileep Kumar Patel
May 31, 2012
3.7
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
How to get the second highest from your table like second highest salary or second highest number.
Query:
select max(emp) from pr where emp in (select top 2 * from pr order by emp desc)
How to Get Second Highest from Table
Next Recommended Reading
Compare two tables in sql