if there is a table with huge number of records and if i
want to extract only first 3 records from the table, what
query i have to provide to retreive first 3 records
Answer Posted / gummadi
select * from table_name
order by ascending
fetch first 3 rows only
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How is deadlock resolved?
What is the purpose of rollback and commit?
Give a brief description of db2 isolation levels?
What is package in cobol db2?
What is dclgen in db2?
How do I import a csv file into db2?
How do you select a row using indexes in db2?
How to resolve deadlock issue
What is the difference between dbm cfg and db cfg file in db2 ?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
What is the cobol picture clause of the db2 data types date, time, timestamp?
What is cascading rollback?
What are the 2 sqlcodes that are returned?
Explain packages.
Explain what are the various isolation levels possible?