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
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
What is lock escalation in db2?
What is package in cobol db2?
What is deadlock in db2?
What are the rules for db2 programming?
Highlight all the advantages that are attached to a package.
What is buffer pool in the db2 database?
What is null indicator in cobol db2?
What is syscat in db2?
How do I change the column size in db2?
What is cursor stability in db2?
What does db2 mean?
What is a cursor in programming?
Is db2 a mainframe?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected