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

Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

984


Explain use of expression builder.

1069


Describe the functionalities that views support.

1145


What is a sql join?

1080


What is a non-clustered index?

1044


What is a fan-out query in SQL Azure?

123


How can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role?

1080


How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

2058


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

1097


What is 'write-ahead log' in sql server 2000 ?

1106


What do you mean by an execution plan? Why is it used? How would you view it?

981


Which tools are available to manage SQL Azure databases and servers?

115


What is your recommendation for a query running very slow? : sql server database administration

1110


on line cluster can we make if yes tell me the procedure

2067


How does recursive cte works in sql server?

1059