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 |
How do I open port 1433?
what is difference between nchar and char in Sql server ?
How do you connect 100 files as a flat file sources in one package of SSIS?
Write a code to select distinct records without using the DISTINCT keyword.
Differentiate between a primary key and a unique key.
What are the system database in sql server 2008?
what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration
How to compare the top two records using sql?
Which Model uses the SET concept
How to Check Whether a Global Temporary Exists in a SQL Database or not?
How can u get the number of pupils connecting the database?
To which devices can a backup be created and where should these devices be located? : sql server management studio
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)