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

An employee table, with the columns id, name, sal and dob.
Query to select emp names of all highest salaries(there are
4-5 people having the same salary which happens to be the
highest).









Answer Posted / kishore kumar

Select ename from emp where sal=(select max(sal) from emp)

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of statement?

1017


Differentiate between a having clause and a where clause.

965


How to add additional conditions in SQL?

1022


What is it unwise to create wide clustered index keys?

1007


what is a correlated sub-query? : Sql server database administration

941


Define ACID properties in a Database?

1057


can any body tell me how to know the password of current user in sql server

2072


List out the differences between global and local temp tables in sql server?

1061


Define full outer join in sql server joins?

992


What is unpivot?

1011


What is difference between views and tables?

1010


When would you use the stored procedures or functions?

1000


How to create an identity column?

1222


What are the advantages of log shipping?

996


What is difference between clustered index and non clustered index?

1077