Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / prem chhappesh
select max(salary) from emoplyee where salary not in(select max(salary) from employee)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to use myisamchk to check or repair myisam tables? : Sql dba
Why do we use %rowtype & %type in plsql?
How do you update sql?
how to decrement dates by 1 in mysql? : Sql dba
Can we use loop in sql?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
Why do we need sharding?
What does where 1 1 mean in sql?
How do I start sql from command line?
What is sql scripting?
how to extract a unit value from a date and time? : Sql dba
how to start mysql server? : Sql dba
What is foreign key sql?
What is a sql instance vs database?