find out the second highest salary?
Answer Posted / asit kumar sahu
SELECT DISTINCT SAL FROM EMP E1
WHERE 2=(SELECT COUNT(DISTINCT SAL) FROM EMP E2
WHERE E1.SAL <= E2.SAL);
OUTPUT= 3000
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
query optmization techniques and quwry analyser+projects+ppts
Explain how are indexes update?
Write a trigger example in oracle?
How is it different from a normal table?
How to display row numbers with the records?
What privilege is needed for a user to connect to oracle server?
What is logical backup in oracle?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
How to rename an existing table?
Explain the use of show option in imp command.
What is a dead lock in oracle?
How to see free space of each tablespace?
What is a snapshot log?
Give syntax for SQL and ORACLE joins.