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 empno,sal 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 ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a view with data from multiple tables?

985


What is the difference between resultset and resultsetmetadata?

912


Explain alternate key, candidate key and composite key in sql server?

879


What are a scheduled jobs or what is a scheduled tasks?

870


What is database dimension? : sql server analysis services, ssas

1048


What are indexes in ms sql server?

1021


wat wil hapn if we give the both read and deny read permission to user?

2080


How to change the password of a login name in ms sql server?

980


How to declare and use cursor variables?

1106


Explain in brief about Microsoft SQL server?

1042


What are approximate numeric data types in ms sql server?

1024


What is the cpu pressure?

1008


What is the contrast between sql and mysql?

1066


What is instead of trigger sql server?

953


How you can get the list of largest tables in a database?

962