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 is the difference between the following two sql statements select count(*) from <tablename> select count(col_name) from <tablename>
What is used to replicate sessions between instances in coldfusion clusters?
What factors you will consider calculating the storage requirement for that view?
WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...
What are the different ways you can create databases in sql server?
What is a DBMS, query, SQL?
What is awe?
What is in place upgrade in sql server?
What is a subquery in a select query statement in ms sql server?
How to delete existing triggers using "drop trigger"?
What are security principals used in sql server 2005?
What is sql server database?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)