how to get second highest salary in SQL(as/4000
Answer Posted / chandu
select max(sal) from new where sal not in(select max(sal)
from new);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How run sql*plus commands that are stored in a local file?
How many tables can you join in sql?
Why coalesce is used in sql?
Is sql difficult?
Is it important to partition hard disk?
How do I remove sql plus from windows 10?
What is dense_rank?
What are the advantages of normalization?
What is not in sql?
What are literals in sql server?
Can we use ddl statements in stored procedure sql server?
What is the difference between function, procedure and package in pl/sql?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
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 are the authentication modes in sql server? : Sql dba