Find out the 3rd highest salary?
Answers were Sorted based on User's Feedback
Answer / xxx
select ename, salary from
(Select ename, salary, rownum
FROM emp where rownum<=3
Order by salary )
where rownum = 1
;
Is This Answer Correct ? | 7 Yes | 20 No |
How is sql used in oracle?
Why do we use %rowtype & %type in plsql?
What is the difference between truncate and drop statements?
what is global variable in package
if a table is getting updated what happens if a function is called from sql query?
How do you explain an index?
What are types of joins?
SELECT ROUND(TRUNC(MOD(1600,10),-1),2) FROM dual;
What is Difference between StoredProcedure and function?
how can we replace the particular column value of a resulted set of executed query? I mean write down a sql query to chane the particular column's value of a resulted set of executed query
What is integrity in sql?
Explain the usage of WHERE CURRENT OF clause in cursors ?