How to find nth highest salary from emp table?

Hello All
Most of the times it is common interview question in database interview that
How to find 2nd highest salary ?
How to find 3rd highest salary?
and so on

So I want one query where i will just change the number like 1, 2, 3, 4 and i’ll get the highest salary.

which database system is being used for this “interview” question?