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

Difference between Sql server reporting services and Crystal reports?

172


What is the Difference Between Primary and Foreign Key?

1017


New concepts of sql server 2005 use in your project.

2367


Explain what is the difference between union and union all?

1018


How to perform key word search in tables?

966


How do I start sql server agent automatically?

977


Tell me the use of keyword with encryption. Create a store procedure with encryption?

1009


What do you understand by sql server agent?

983


What happens if we shrink log file in sql server?

991


How can you manage sql azure security?

104


What are the two modes of authentication in sql server?

1081


Please illustrate physical database architecture? : SQL Server Architecture

993


How to concatenate two binary strings together?

1136


What are the transaction properties?

1028


What is sql or structured query language?

1159