how to get max salary with employee number by using one select
query and max function ??
Answer Posted / suresh jp
select emp_no,max(salary) over() from table_employee;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are different types of database indexes?
How do I determine how many instances of sql server are installed on a computer?
Can multiple columns be used in sql group by clause in ms sql server?
How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?
What is unique key constraint?
What is row_number()?
How to apply cascading referential integrity in place of triggers?
What is an indice?
What is the difference between primary key and unique constraints?
Tell me extended events in sql server 2008?
What is a join in sql? What are the types of joins?
What is the difference between clustered and non-clustered indexes in ms sql server?
What is the default port for SQL Server over a firewall?
what are the core components of SSRS?
What is temporary table in sql server? Why we use temp table?