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...

How to select the name of employee who is getting maximum
sal with out using subquery

Answer Posted / niladri chatterjee

Select * From (Select * From Employee Order By Salary Desc) a
Where rownum=1 ;

Or

Select * From (Select Emp_id, Emp_NM, Salary From Employee Order By Salary Desc) a
Where rownum=1 ;

Based on Oracle 11g.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a subquery?

1058


Explain the use of record length option in exp command.

1026


Explain the use of record option in exp command.

948


How will you differentiate between varchar & varchar2?

992


What are the original export and import utilities?

1058


How to export data with a field delimiter?

971


How to find the duplicate rows count from employees table in oracle?

1041


query optmization techniques and quwry analyser+projects+ppts

2372


How to select an oracle system id (sid)?

1020


What is integrity and what is constraint??Explain with example

2215


Explain the use of compress option in exp command.

969


 What are the oracle DML commands possible through an update strategy?

1006


How to convert characters to times in oracle?

955


What is a trigger and what are its types?

1115


What is an Oracle Instance?

1073