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 / krishna sandeep

select top 3 <column_name> from ,table_name> order by
<column_name> desc

this will work.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can compare two database data?

923


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

962


What happens when the SQL Azure database reaches Max Size?

111


What is difference between count (*) and count 1?

913


What is a primary key?

941


How to create prepared statements using odbc_prepare()?

1041


explain different types of joins? : Sql server database administration

957


How to implement service broker?

983


How to use linked server?

1165


What is the use of for clause?

1089


what are the critical issues you have resloved in your company

1950


What is the difference between row_number and dense_rank?

858


What is difference between equi join and natural join?

1013


What is the rdl file?

138


Can we use max in where clause?

915