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

Explain left outer join and right outer join?

971


What is difference between equi join and natural join?

963


Why should one not prefix user stored procedures with ‘sp_’?

985


After removing a table from database, what other related objects have to be dropped explicitly?

997


Explain sql server authentication modes?

1074


What are the requirements for sql server 2016?

851


What do you think of this implementation? Can this be implemented better?

874


What are the elements of dbms?

919


What is side by side migration in sql server?

1019


Why we use trigger in sql server with example?

916


What are two difference between sql azure and azure tables?

159


How to create a store procedure with encryption?

950


What does top operator do?

963


How do you drop an index?

862


Does partitioning improve performance?

916