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...

How do you retrieve the last N records from a table?

Answer Posted / a g srikanth

SELECT *
FROM emp e
WHERE 1>
(SELECT COUNT(1) FROM emp f WHERE e.rowid<f.rowid
);

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of variables use in pl sql?

1044


what are the properties and different types of sub-queries? : Sql dba

1034


How to raise user-defined exception with custom sqlerrm ?

1131


how to create a new table by selecting rows from another table in mysql? : Sql dba

1107


what are the differences between char and varchar? : Sql dba

1076


What is sap sql?

988


What is sql mysql pl sql oracle?

1075


What are field types?

1008


What is varray in pl sql?

1079


Which language is used in sql?

1064


How does index help in query performance?

1031


Which is better varchar or nvarchar?

999


Can we use threading in pl/sql?

1043


what is the difference between ereg_replace() and eregi_replace()? : Sql dba

1159


How do I save a stored procedure?

1011