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

Here is the solution.

Select E_id, E_name,Salary from the Employes group by E_ID
Having Salary=Max(Salary)

Should work.
Try it and let me know.

Cheers!
Naresh

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to shutdown your 10g xe server?

1109


What privilege is needed for a user to create indexes in oracle?

986


Explain an exception?

957


Please explain joins in oracle?

1027


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2527


What are privileges and grants?

1023


what is Single Byte Overhead...?

2516


How to start instance with a minimal initialization parameter file?

1007


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1729


What does sharding mean?

968


Is there an oracle sql query that aggregates multiple rows into one row?

952


What is program global area (pga) in oracle?

987


State and explain about oracle instance?

956


Explain about integrity constraint?

1095


How to delete an existing row from a table in oracle?

1036