how to find the second highest salary from emp table?
Answer Posted / bipin
use this query. it works great.
select max(sal) from table_name where sal<(select max(sal)
from table_name)
| Is This Answer Correct ? | 415 Yes | 59 No |
Post New Answer View All Answers
define join and explain different type of joins? : Sql dba
what is a unique key ? : Sql dba
How to revise and re-run the last sql command?
Why function is used in sql?
What does varchar include?
What is a temporal data type?
Why is normalization important?
What is the difference between partition and index?
Explain the difference between drop and truncate commands in sql?
Show the two pl/sql cursor exceptions.
What is the use of count (*) in sql?
How to run pl/sql statements in sql*plus?
How to select all records from the table?
Explain what is a view?
What is the difference between execution of triggers and stored procedures?