find out the second highest salary?
Answer Posted / karthikeyan
select max(sal) from emp
where sal <(select max (sal)from emp);
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is a dead lock in oracle?
How to drop an existing view in oracle?
What do you understand by database schema and what does it hold?
What are the different pseudo commands? Explain in general?
How to find the duplicate rows count from employees table in oracle?
For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?
What is merge in oracle?
IS it possible to built the oracle database without setting the kernal parameters?
How to delete a column in an existing table in oracle?
When do I need to use a semicolon vs a slash in oracle sql?
What is a sub query? Describe its types?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
How to view all columns in an existing table?
Explain the difference between replace() and translate() functions in oracle?