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 |
List the different types of joins?
Do you know the cursor types?
Where the sql logs gets stored? : sql server database administration
explain different types of cursors? : Sql server database administration
internal language used in sql server 2000?
I need a query that retrieves info from an Oracle table and a query that retrieves info from a SQL Server table. The info has to be joined together according to Record ID numbers. I have very limited access to the Oracle database but full control of the SQL Server database.How do I join two different queries from two different databases?
write a query for list of owner who are having multiple bikes in below table 1 shanker pulsar 2 shanker Honda 3 shanker car 4 Balu pulsar 5 Balu Honda 6 Balu car 7 Shyam pulsar 8 Jaya Honda 9 Deepa car 10 vasu car
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration
What is the difference between push and pull subscription? : sql server replication
What objects does the fn_my_permissions function reports on? : sql server security
1.How to check the backup file details if we do not have access to that folder 2.how to check the backup file size without connecting to the folder
3 Answers CarrizalSoft Technologies, IBM,