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 to check last update on table in db2?
What is a buffer in memory?
Explain package in db2 and its advantages?
What is the use of db2?
What is the difference between db2 and oracle?
What is the reason behind not using select * in embedded sql programs?
What is a Foreign Key?
What is runstats db2?
What is a bind in db2?
What is dclgen in db2?
what is diffrence b/w file-aid tool and file-aid utility???
What is catalog database in db2?
What is dclgen (declaration generator)?
What are foreign keys in db2?
Can we update view in db2?