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

wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records

Answer Posted / tulasi ravi kumar

hi this is tulasi ravi
id - ravi106109@gmail.com

select * from emp where rowid in
(select rowid from emp
minus
select rowid from emp where rownum<=(
select count(*)-3 from emp))


feel free to mail queries,,,.....

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between getdate and sysdatetime in sql server 2008?

1058


How to delete a database in ms sql server?

1243


Explain the truncate command?

990


what is the sql equivaent of the dataset relation object ?

2033


What are the advantages to use stored procedures?

1118


What is bulkcopy in sql?

953


What is the process of normalising?

1006


What is linked report?

135


What command would you use to create an index?

1061


Explain the commands in sql server?

1045


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

2492


Can we create clustered index on composite key?

1094


Do you know what is replace and stuff function in sql server?

1024


What is a transact-sql statement batch in ms sql server?

1030


Can sql server be linked with other servers like oracle?

971