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 / akshaya

select * from last10
minus
select * from last10
where row >= (select COUNT(*)-10 from last10)


condition should be >= not <=
for all the above queries

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is partition used in sql?

1130


What is sql dialect?

1124


What are different functions in sql?

951


How many scalar data types are supported in pl/sql?

1063


what is acid property in database? : Sql dba

1034


How do I sort a table in sql?

1051


How is data stored in sql?

1065


What is cartesian join in sql?

1135


What is sql and db2?

1013


Explain about various levels of constraint.

950


what are wild cards used in database for pattern matching ? : Sql dba

1147


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

1197


Show how functions and procedures are called in a pl/sql block.

1133


what is auto increment? : Sql dba

1014


What does count (*) do in sql?

1017