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
Is pl sql still used?
Can we use ddl statements in stored procedure?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
Explain two easy sql optimizations.
How many tables can you join in sql?
What does (+) mean in sql joins?
What is the use of stored procedures?
What is data definition language?
What are pl/sql cursor exceptions?
What is sqlite used for?
how to check myisam tables for errors? : Sql dba
How do I find duplicates in sql?
Is natural join same as inner join?
What is sql entity?
describe transaction-safe table types in mysql : sql dba