how to find the second highest salary from emp table?
Answer Posted / anonymous
select Max(salary) from test where salary not in(select Max
(salary) from test);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What's the procedure?
What is the purpose of the partition table?
Can we insert data into view?
How do I tune a sql query?
What is substitution variable in pl sql?
What is set serveroutput on in pl sql?
Which is better varchar or nvarchar?
What is difference between ms sql and mysql?
how tsql statements can be written and submitted to the database engine? : Transact sql
How to use transactions efficiently : transact sql
How do you declare a constant?
Why do we create stored procedures & functions in pl/sql and how are they different?
Explain the components of sql?
What is clustered index in sql?
what is the different between now() and current_date()? : Sql dba