1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / ramya

select max(sal) from employees where
sal < (select max(sal) from employees)

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain an exception and its types?

617


Please explain oracle left join with an example?

591


State the various uses of dbcc command?

559


What is the data type of dual table?

537


How to use windows user to connect to the server?

538






Why does Oracle not permit the use of PCTUSED with indexes?

1962


How to create a stored function in oracle?

596


What is recovery manager(rman) backup in Oracle?

642


Explain an extent?

671


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.

1003


What is a snapshot log?

576


What do you know about normalization? Explain in detail?

506


Explain self joins in oracle?

571


What is a cursor and what are the steps need to be taken?

605


WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

1812