Write a query to find second highest salary of an employee.
Answer Posted / cooldude
select max(sal) from Emp where sal < (select max(sal) from
Emp)
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
List the different type of joins?
Explain the difference between triggers and constraints?
What is the difference between partitioning and sharding?
What are the operators used in select statements?
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
how to escape special characters in sql statements? : Sql dba
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is output spooling in sql*plus?
Which is better trigger or stored procedure?
what happens if null values are involved in expressions? : Sql dba
what is a composite key ? : Sql dba
What are different categories of sql commands?
What is gpt format?
What are the syntax and use of the coalesce function?
What is sql in oracle?