Hi, I need to fetch the 6th top and 5th max record in my database. assume everything is integer datatype.... Thanks in Advance
I think it could be like that , try it and tell . select * from ( select * from table_name order by column_name desc limit 6 ) order by column_name asc limit 2 Code (markup):