Write query to fetch second maximum salary from employee table.
Answer Posted / santosh kumar
select * from(select rownum r,ename,sal from(select * from emp order by sal desc))where r=2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is oracle analytical function?
How do I spool in oracle?
i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)
What is a table index?
How to enter a new row into a table interactively?
Can you drop an index associated with a unique or primary key constraint?
What are the attributes of the cursor?
Explain an index segment?
What is not equal to in oracle?
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
Explain the features of oracle?
Can I create users through internet explorer in oracle 10g?
How to start a new transaction in oracle?
What is oracle data type?
Explain a segment?