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

Select empname,salary from emp where salary=(select
max(salary) from emp)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we deploy SSRS reports on our personal website?

162


What is the sql server agent?

1032


What is a covering index?

920


When would you use sql joins?

909


What is the purpose of floor function?

975


What does dml stand for?

904


Difference between 2NF &3NF ?

1029


What is TDS(Tabular Data Stream) Gateway?

121


How can windows applications connect to sql servers via odbc?

1059


Explain various On-Delete options in a DB table. Which is the default option?

1403


What to check if a User database is locked?

1017


What are the new scripting capabilities of ssms? : sql server management studio

1001


What does it mean to be in union?

870


What extended events?

951


Explain indexed views and partitioned view with their syntax.

1076