how to find the second highest salary from emp table?
Answer Posted / shivdas suryawanshi
select salary from emp where salary=(select max(salary)
from emp where salary < (selct max(salary) from emp));
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are sql commands?
What is index example?
How can the performance of a trigger be improved?
Mention what is the plv (pl/vision) package offers?
What trigger means?
Is sql pronounced sequel or sql?
When are we going to use truncate and delete?
how to run 'mysql' commands from a batch file? : Sql dba
how to enter characters as hex numbers? : Sql dba
What is example of database?
what is the use of friend function? : Sql dba
Is left join and outer join same?
What are the advantages of sql? Explain
How do you update a sql procedure?
Can we rollback after truncate?