There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........
Answer Posted / pavan
try this one....
select * from emp where emp_Id = (select emp_Id from emp
order by sal)
and count(*) < 6;
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What do you mean by cursor?
Before you give the explain statement, what are the prerogatives?
What is a collection in db2?
What is syscat in db2?
When reorg is used?
What is null indicator in db2?
Give a brief description of db2 isolation levels?
What is db2 command?
How to get the ddl of a table in db2?
What is the maximum size of a char data type in db2?
How do I copy a table in db2?
Explain about rct.
What is dbrm? What it contains? When it will be created?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
What is with ur in db2?