fetch fourth maximum record from the table field
Posted
by chetan
on Stack Overflow
See other posts from Stack Overflow
or by chetan
Published on 2010-03-29T12:31:26Z
Indexed on
2010/03/29
12:33 UTC
Read the original article
Hit count: 228
Following is the command to fetch maximum salary form empsalary table in mysql
select max(salary) from empsalary;
but I want to fetch employee who got fourth highest from the list of employee. I don't want to use trigger or function because I know there is direct command to fetch.
© Stack Overflow or respective owner