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 / amol dhane

Select * From (Select emp1.*, dense_rank () Over (Order By
sal asc) Salary_Order From employee emp1)emp2 Where
Salary_Order = 1

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Different types of keys in SQL?

1149


How to find the version of sql server? : sql server database administration

1172


What purpose does the model database server?

1149


Explain few examples of stored procedure over triggers?

1122


What do you mean by collation recursive stored procedure?

1112


Can binary strings be used in arithmetical operations?

988


What is NOT NULL Constraint in sql server 2012?

1048


Can sql servers linked to other servers like oracle?

1011


What are the options which must be set to allow the usage of optimistic models?

1023


What is key attribute?

983


What is sql collation?

1273


What is join and name different type of joins?

1101


Why do you want to join software field as you have done your BE in Electronics?

2199


How to return the top 5 rows from a select query in ms sql server?

1213


Explain activity monitors

1132