Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...

Answer Posted / martin

select e.sal from emp e where &2>(select max(count{a.sal})
from emp a where a.sal > e.sal order by desc
)

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is where clause in oracle?

533


How to start your 10g xe server?

596


What is oracle open database communication (odbc)?

559


what is the difference between functional dependecy and multilevel dependency?

1994


How to use values from other tables in update statements using oracle?

568






What happens to indexes if you drop a table?

698


can u plz provide me oca sql dumps please i need them

1466


How do I limit the number of oracle database connections generated by weblogic server?

548


What is a sub query? Describe its types?

544


what are the advantages of running a database in archive log mode?

1734


query optmization techniques and quwry analyser+projects+ppts

1932


How to open a cursor variable?

611


What is the difference between a user and a schema in oracle?

562


How to login to the server without an instance?

622


HI Friends Myself Manoj,i am from bengaluru.i have 1 yr of exp in PLSQL but not upto the mark..now attending interviews but m not able to clear even 1 round..i have attended 3 interviews till today.purpose of writing this query is,i want to know the intreview topics that interviewer going to ask frequently,mainly SCENARIO based questions.IF anybody have any PLSQL projects please give it to me,it will helps me alot.Thanks for your patience.

995