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

Write a query to get last 10 records from the table.

Answer Posted / siddharthapenchala

select * from <TN>
minus
select * from <TN>
where
rownum <= (select count(*) - &n from <TN>)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is trigger point?

990


What are the ways on commenting in a pl/sql code?

1128


what are the different tables present in mysql? : Sql dba

980


Is pl sql still used?

971


What is full form of rtm?

1001


what is union, minus and interact commands? : Sql dba

1181


how is exception handling handled in mysql? : Sql dba

1072


what is a relationship and what are they? : Sql dba

1093


how many ways we can we find the current date using mysql? : Sql dba

1094


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

996


in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.

2076


What is materialized view in sql?

916


Can a commit statement be executed as part of a trigger?

1046


What is a composite primary key?

1085


What are the parameter modes supported by pl/sql?

1097