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 / manoranjan sethy

Method 01:
---------
Select Ename, MAX (Sal) From Emp
Group by ROWNUM, Ename
Having Rownum <=5;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we update views in sql?

896


How to fetch alternate records from a table?

1156


what is innodb? : Sql dba

1029


How to return an array from java to pl/sql?

1060


What if we write return in procedure?

1331


Is mariadb a nosql database?

1004


What is pl/sql language case sensitive?

1058


Can a key be both primary and foreign?

943


What is raw datatype in sql?

976


Write a sql query to convert all character to uppercase after hypen.

1375


What are different joins used in sql?

1007


What is spool?

990


what is 'mysqlcheck'? : Sql dba

958


What is primary key secondary key alternate key candidate key?

978


How do I truncate a word?

986