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 is the temp table?

978


What is BCP? When does it used in sql server 2012?

1108


What is server-level principal?

122


What are subqueries in sql server? Explain its properties.

1072


What is the current limitation of the size of SQL Azure DB?

129


Explain about temporary stored procedure?

1099


What are the basic functions for master, msdb, model, tempdb databases?

1097


How each E-R model constructs can be mapped to the relational model?

1052


which backup strategy you are following at ur company

2196


What is trigger and different types of Triggers?

1201


How to count duplicated values in a column in ms sql server?

1171


What is it unwise to create wide clustered index keys?

1047


What is the difference between a stored procedure and a user defined function?

1067


How do you check sql server is up and running?

1055


Explain in brief how sql server enhances scalability of the database system?

1028