find out the second highest salary?
Answer Posted / ananth
this is for 2nd highest sal in sql server database
select * from emp where sal=(select max(sal) from emp where
sal<(select max(sal) from emp))
| Is This Answer Correct ? | 119 Yes | 13 No |
Post New Answer View All Answers
defination of bitmap index
What is merge in oracle?
State any two functions of oracle?
What is an oracle cursor variable?
How do I connect to oracle?
How to get last row id?
Explain the different normalization forms?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What is transaction control statement and how many types of transaction control statement in Oracle?
How to start a new transaction in oracle?
How would you change old and new values in an insert, delete and update triggers?
Why packages are used in oracle?
what is the difference between data migration and production migration.
How will you identify oracle database software release?
What is the difference between truncate & delete command?