how to find the second highest salary from emp table?
Answer Posted / khushbu
select max(salary) from emp where salary not in (select
max(salary) from emp)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which one is better subquery or joins?
Which is better join or subquery?
How do I run sql profiler?
how to run 'mysql' commands from a batch file? : Sql dba
Why do we use triggers?
How many types of keys are there in sql?
What is pl sql block structure?
Is not null in sql?
How do I make my sql query run faster?
What are sql triggers used for?
How do you sort in sql?
Can we edit a view in sql?
Is record in oracle pl sql?
What is union?
How can you create an empty table from an existing table?