Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...
Answer Posted / hemalatha
Following is the query to find the nth maximum salary:
select * from emp
where sal=(select distinct(sal) from emp a
where &n=(select count(sal)from emp
where sal>=a.sal;))
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
How to synchronize 2 schema's objects?
Explain temporal data types in oracle
How to create a table index in oracle?
What is redo log?
How to get a list of all user accounts in the database?
What are the components of logical database structure in oracle database?
if you ctreate table identity
Is a rollback possible to any savepoint?
How to increment dates by 1 in oracle?
What is a server parameter file in oracle?
What is a Garbage Collection? and what is full recursive Garbage collection?
How do I know if oracle client is installed on windows?
How to define an anonymous procedure with variables?
Explain the use of Merge statement in oracle 11g