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

select name,max(sal) from emp group by name

Is This Answer Correct ?    6 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql service broker?

991


Explain syntax for viewing, dropping and disabling triggers?

965


What is the need for group functions in sql?

1094


Why normalization is used?

1019


How to check status of stored procedure in sql server?

995


What is the index requirement in SQL Azure?

98


How to provide column names in insert statements in ms sql server?

1166


List the different normalization forms?

988


What is the difference between count and distinct count?

892


What is the most common type of join?

998


Define Business Edition in SQL Azure?

100


How to select some specific columns from a table in a query in ms sql server?

1009


What are dml triggers and types of dml triggers?

985


Data table as parameter in sql server?

1057


What program is used to store the data source file?

972