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...

how to get max salary with employee number by using one select
query and max function ??

Answer Posted / mithilesh gatole

Answer -

select MAX(Salary) from Employee
WHERE Salary <> (select MAX(Salary) from Employee )

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to receive returning result from a query?

1126


What is constraints and its types?

952


What is the difference between clustered and a non-clustered index?

1030


How do clustered indexes store data?

1108


What is logon trigger?

1105


Explain indexed views and partitioned view with their syntax.

1146


Explain what is it unwise to create wide clustered index keys?

979


Can you explain different types of locks in sql server?

947


what are user defined datatypes? : Sql server database administration

970


What are the differences between sql server and mysql.

1101


How to provide default values to function parameters?

1146


Do you know what is user defined datatypes and when you should go for them?

968


How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication

1082


What is failover clustering overview?

1090


What is standby servers? Explain types of standby servers.

995