how to find the second highest salary from emp table?
Answer Posted / sagar padekar
select * from bill_gen
where total_payable< (select max(total_payable) from
bill_gen) order by total_payable desc limit 1;
hey please refer total_payable as salary amount
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
difference between anonymous blocks and sub-programs.
Name the different types of indexes in sql and define them.
What is latest version of sql?
Why plvtab is considered as the easiest way to access the pl/sql table?
Can %notfound return null after a fetch?
what is a composite key ? : Sql dba
Explain mutating table error.
What are the uses of merge?
What is a recursive stored procedure?
Is a foreign key always unique?
What trigger means?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
What is the benefit of foreign key?
Explain the update statement in sql