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?

1056


Do we need to rebuild index after truncate?

1097


What is the difference between function, procedure and package in pl/sql?

1349


What is data types in sql?

1070


What are the different operators available in sql?

1057


Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?

3619


What is difference between nchar and nvarchar?

1098


How to select 10 records from a table?

1205


What is the order of sql select?

1086


What is sql keyword?

1043


What is sql profiler in oracle?

1158


Can we use ddl commands in pl sql?

1227


What is the usage of when clause in trigger?

1087


Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)

1007


What is the left table in sql?

1013