how to find the second highest salary from emp table?
Answer Posted / jayshree
select max(sal) from table_name where sal not in (select
max(sal) from table_name)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the sql aggregate functions?
What are the datatypes available in pl/sql ?
How do I remove all records from a table?
How do I trace sql profiler?
What is the size of partition table?
What is the difference between stored procedure and view?
How do you optimize a query?
What is a data definition language?
How do I remove sql developer from windows 10?
What are sql built in functions?
What is $$ in sql?
What is column?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What is basic structure of pl sql?
Explain lock escalation? : Transact sql