how to find the second highest salary from emp table?
Answer Posted / sudha
select max(sal) from emp where sal <(select max(sal) from
emp);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which tcp/ip port does sql server run?
What is the difference between syntax error and runtime error?
what is sp_pkeys? : Transact sql
What is a constraint? Tell me about its various levels.
Explain table and field in sql?
What is clause?
What is the difference between function and procedure in pl/sql?
What is the use of non clustered index?
Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
Name the operator which is used in the query for pattern matching?
Can we insert data into view?
What is the difference between delete and truncate statement in sql?
What is bind reference and how can it be created?
What are few of the schema objects that are created using PL/SQL?