how to find the second highest salary from emp table?
Answer Posted / nitin
select max(salary) from emp where salary<>(select
max(salary) from emp);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to create startup or shutdown trigger for on-schema?
What is a variable in sql?
What is set serveroutput on?
Can dml statements be used in pl/sql?
What is example of database?
How do you optimize a stored procedure query?
Can we use two order by clause in query?
What is difference between table and view?
What are the most important ddl statements in sql?
How would you reference column values before and after you have inserted and deleted triggers?
How many types of indexes are there in sql?
How do you remove duplicates without using distinct in sql?
what are the different type of normalization? : Sql dba
what are all different types of collation sensitivity? : Sql dba
How do I find sql profiler?