how to find the second highest salary from emp table?
Answer Posted / abir dutta
select min(empsal)
from (select * from sal order by empsal desc)
where rownum <=2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does dml mean?
Which type of cursor is used to execute the dml statement?
Which tcp/ip port does sql server run?
how to delete an existing column in a table? : Sql dba
what happens if you no create privilege in a database? : Sql dba
discuss about myisam index statistics collection. : Sql dba
Write a query to find the names of users that begin with "um" in sql?
What is rename in sql?
how do you know if your mysql server is alive? : Sql dba
Does oracle roll back the transaction on an error?
what is a stored procedure? : Sql dba
What are the different ways to optimize a sql query?
What is difference between stored function and application function?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
How do you change a value in sql?