Write a query to find second highest salary of an employee.
Answer Posted / arif saulat
select * from emp where sal <(select max(sal) from emp)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is function and procedure in pl sql?
How to change the order of columns in Oracle SQL Plus ?
Is vs as in pl sql?
How can we solve sql error: ora-00904: invalid identifier?
Can we insert data in view?
Can you selectively load only those records that you need? : aql loader
What is a primary key called that is made up of more than one field?
What does select top 1 do in sql?
What is information schema in sql?
What are sql objects?
What is character functions?
What is nosql db?
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.
what is innodb? : Sql dba
How to look at the current sql*plus system settings?