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 find five highest salaries from EMP table.
(there is a column SALARY)

Answer Posted / priya

SELECT Rownum,emp-name,salary
FROM(SELECT emp_name,salary
FROM employees
ORDER BY salary Desc)
WHERE Rownum<=5;

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is exit statement?

1061


What is clustered and nonclustered index in sql?

985


What is sqlca in db2?

1033


what is union? : Sql dba

1081


What is the syntax and use of the coalesce function?

1212


What is a database? Explain

1176


What is a unique key?

1104


Why is pl sql needed?

1004


What is triggering circuit?

1105


What is embedded sql what are its advantages?

1108


What is sql integrity?

1241


How to use boolean type in select statement?

1138


Why does sql need a server?

1083


What is rtm in testing?

1174


Enlist some predefined exceptions?

1112