how to get max salary with employee number by using one select
query and max function ??
Answers were Sorted based on User's Feedback
Answer / suresh jp
select emp_no,max(salary) over() from table_employee;
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nitin sane
select Employee_name,max(Employee_Salary) over() from Employee_test;
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mithilesh gatole
Answer -
select MAX(Salary) from Employee
WHERE Salary <> (select MAX(Salary) from Employee )
Is This Answer Correct ? | 0 Yes | 5 No |
What command would you use to add a column to a table in sql server?
what is macro?
5 Answers Excel, Global Innovation, Wipro,
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
Explain couple pf features of SQL server
What language is sql server written in?
Benefits of Stored Procedures?
explain different types of joins? : Sql server database administration
What is the contrast between sql and pl/sql?
What is the difference between index seek vs. Index scan?
Can group functions be used in the order by clause in ms sql server?
what is the difference between Delete and Truncate
4 Answers CarrizalSoft Technologies, Geo Research Centre,
What is transaction server isolation?