how to get max salary with employee number by using one select
query and max function ??
Answer Posted / mithilesh gatole
Answer -
select MAX(Salary) from Employee
WHERE Salary <> (select MAX(Salary) from Employee )
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
how to take backup bcp out for a column in table in sql server?
What is sql or structured query language?
How to provide default values to stored procedure parameters?
Does hive support indexing?
Name the different type of indexes in sql?
Why we need to use secondry database file? though, we can do same work using primary database file also.
How you can get a list of all the table constraints in a database? : Sql server administration
Explain indexing and what are the advantages of it?
What are the types of joins in sql?
How to insert stored procedure result into temporary table?
What is a primary key?
What is database replication? What are the different types of replication you can set up in sql server?
What are xml indexes?
whats the maximum size of view state??
What are the different index configurations a table can have?