Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / m
select max(sal) from emp where sal<(select max(sal) from
emp))
| Is This Answer Correct ? | 222 Yes | 39 No |
Post New Answer View All Answers
What is difference between sql and oracle?
What are sql functions? Describe in brief different types of sql functions?
What are literals in sql server?
Is sql scripting language?
What do you mean by dbms? What are its different types?
How do I trace sql profiler?
How do I create an index in word?
What is data type in database?
what is a tablespace? : Sql dba
What is sql lookup?
Can procedure in package be overloaded?
tell us something about heap tables. : Sql dba
What does the base_object_type column shows in the user.triggers data dictionary view?
How do I filter in sql profiler?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.