find out the second highest salary?

Answer Posted / yobu

select min(marks) from (SELECT sid FROM(SELECT sid FROM STUDENT ORDER BY SId desc) WHERE ROWNUM <=2);

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is MTTR advisor in Oracle?

608


Explain cascading triggers.

574


Explain user account with reference to oracle.

532


What is the difference between PFILE and SPFILE in Oracle?

578


i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?

1470






How to create a new user account in oracle?

578


What is snapshot is too old? Give and example for better understand.

1100


How to call a stored function in oracle?

574


How to load data from external tables to regular tables?

539


How to assign a tablespace to a users in oracle?

591


How do I start tns listener?

542


Difference between the “verify” and “feedback” command?

773


How remove data files before opening a database?

564


What is a table index in oracle?

632


What is the use of file param in imp command?

644