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

What is the difference between value type and reference type?

557


What is efficiency data?

527


What is a view and what are its advantages?

691


when would you go for denormalization? : Sql server database administration

487


Can we use custom code in ssrs?

589






What are the system database in sql server 2008?

576


What stored procedure can you use to display the current processes?

499


How to turn off warning messages during php execution?

532


What does the on delete cascade option do?

554


What is the use of floor function in sql server?

555


What are the different types of collation sensitivity?

557


where can you add custom error messages to sql server? : Sql server administration

585


How to replace the Query Result 'Null Value' with a text ?

565


Types of Authentications in Sql Server? How user gets authenticated through windows authentication?

571


What is an expression in ms sql server?

573