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

Answer Posted / nitin sane

select Employee_name,max(Employee_Salary) over() from Employee_test;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of index?

595


What are the differences between left join and inner join in sql server?

590


Determine how to use the inserted and deleted pseudo tables?

540


Can you please differentiate between a primary key and a unique key?

535


Can we insert data if clustered index is disabled?

510






What is repeatable read?

542


What to check if a User database is locked?

588


When we should use and scope of @@identity?

549


How do we Backup SQL Azure Data?

86


Explain indexed views and partitioned view with their syntax.

688


What are “lock” hints?

593


What is the difference between rank and dense_rank?

505


What is the size of transaction log file?

489


How to update values in a table with update statements in ms sql server?

557


How do I manually uninstall an instance of sql server 2016?

550