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 all details of employee who has maximum
salary from employee table

Answer Posted / sureshramsing

select * from(select e.* from emp e order by sal desc) where rownum=1;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command used to check locks in microsoft sql server?

1045


what is the difference between count(*) and count(1) ?

1087


What are the differences between web role and worker role?

122


Explain nested stored procedure. Syntax and an example for create nested stored procedure?

935


Explain what are magic tables in sql server?

1000


What is resultset concur_updatable?

1022


Tell me what is the stuff and how does it differ from the replace function?

984


What is the chart in report?

159


Do you know what is similarity and difference between truncate and delete in sql?

1010


Why is normalisation important?

951


What is the difference between ‘having’ clause and a ‘where’ clause?

1041


How many clustered indexes there can be on table ?

1040


What is the difference between mysql and mysqli?

1206


Does partitioning ssd reduce performance?

898


Define clusters?

1086