how to find the second highest salary from emp table?
Answer Posted / gaurav singh 'viccky'
select salary from user=(select max(salary)from user where
salary < (select max(salary)from user))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a left join?
Explain the savepoint statement.
Can a composite key be null?
What is the maximum size of sqlite database?
What is type and rowtype in pl sql?
Is sql harder than python?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
what is the difference between a web-garden and a web-farm? : Sql dba
What is the use of pl/sql table?
Explain correlated query work?
what is the difference between undefined value and null value? : Sql dba
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
Do foreign keys improve performance?
Can we join two tables without common column?
How to load data with sql*loader?