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

SELECT ROWNUM, E1.*
FROM
(
SELECT * FROM Emp
ORDER BY ROWNUM DESC
)E1
WHERE ROWNUM <= 10

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many joins in sql?

1059


What is the difference between union and union all command?

1152


What are synonyms in sql?

1027


What is the difference between a database and a relational database?

1159


Does varchar need length?

1050


How does sql profiler work?

1065


What is the use of triggers?

1085


What is a behavioral trigger?

1026


What is the purpose of a sql?

1044


How do I save a stored procedure?

1070


Why do we use joins?

1101


How does left join work in sql?

1041


How do I count records in sql?

1054


Explain what is dbms?

1120


what are the disadvantages of mysql? : Sql dba

1210