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

Why I have to use stored procedures?

1051


What should be the fill factor for indexes created on tables? : sql server database administration

1141


What are the advantages of using third-party tools?

998


What are trace flags and mention a few common trace flags used with sql server?

1089


What is the syntax to execute the sys.dm_db_missing_index_details?

1030


Tell about MOM Tool(Microsoft Operator Manager)?

1914


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

982


Explain Geometry datatype in sql server 2008 with example

997


What are the differences between stored procedure and the dynamic sql?

1098


How use inner join in sql server?

1137


Explain trigger and its types?

1070


how many triggers you can have on a table? : Sql server database administration

978


What are different types of roles provided by ssrs?

150


What is usually the first word in a sql query?

1136


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

1091