find out the third highest salary?
Answer Posted / alka
select min(salary)
from(select salary
from emp
order by salary desc
)
where rownum <=3
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What is a parameter file in oracle?
What is the usage of save points in oracle database?
Explain what are the advantages of views?
How to delete a column in an existing table?
How to resolve name conflicts between variables and columns?
What is an oracle wallet?
What is the usage of synonyms?
> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?
How to use like conditions in oracle?
What is system tablespace?
What privilege is needed for a user to delete rows from tables in another schema?
How does one get the view definition of fixed views/tables?
In which language oracle has been developed?
How translate command is different from replace?
What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.