how to find the second highest salary from emp table?
Answer Posted / yash goyal
Select slary from
(select salary from empolyees
order by salary desc
where rownum<=&no.)
order by salary Asc
where rownum=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a data manipulation language?
What are inner and outer joins examples of both?
How is indexing done in search engines?
how to rename an existing column in a table? : Sql dba
What is linq to sql?
What is anonymous block in sql?
How many types of index are there?
What is data type in sql?
What is compiled query?
What is difference between ms sql and mysql?
what is innodb? : Sql dba
What is the syntax to add a record to a table?
Can you have more than one trigger on a table?
Explain the working of primary key?
Is a view faster than a stored procedure?