how to find the second highest salary from emp table?
Answer Posted / kiran
select max(sal) from emp where sal in(select sal from emp
where sal<>(select max(sal) from emp))
/
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a natural join sql?
what is a field in a database ? : Sql dba
What if we write return in procedure?
How to sort the rows in sql.
How do I debug a stored procedure?
How to read xml file in oracle pl sql?
What is a variable in sql?
How do I copy a table in sql?
How to fix oracle error ora-00942: table or view does not exist
how to drop an existing index in mysql? : Sql dba
Is sql harder than python?
Where can I learn sql for free?
what is offset-fetch filter in tsql? : Transact sql
How do I save the results of sql query in a file?
what are set operators in sql? : Sql dba