query to just fetch first matching row and stop execution.
once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop
Answer Posted / parthasarathi
select * from
(select * from emp a where rowid<(select max(rowid) from
emp b where a.empno=b.empno) x
where rownum=1
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is view db2?
What is buffer pool and list some of them?
Explain about dbrm.
How to run db2 command in windows?
What does reorg do in db2?
What is meant by dclgen?
Explain the function of data manager.
How do we specify index to include or not during bind process.
What is the syntax for creating a table in the db2 database?
Is db2 relational database?
What is package in cobol db2?
What are the rules for db2 programming?
What is db2 bind?
What is the syntax for FETCH in DB2 ?
How do I add a column to an existing table in db2?