Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the bind parameters ibm db2?

1029


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

2044


is it compulsory commitment control in journal?

2462


How would you find out the total number of rows in a db2 table?

1041


How can the duplicate values be eliminated from db2 select?

1082


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2202


What is load utility in db2?

1167


What is null indicator in cobol db2?

1044


Which command is used to connect to a database in DB2 ? Give the Syntax.

1085


How do I add a column to an existing table in db2?

1012


What db2 400?

1145


How will you return the number of records in table?

917


What is package in cobol db2?

1107


What are the full forms of spufi and dclgen and why are they used?

1064


What is the difference between oracle and db2?

1075