Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / mallikarjuna
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
What is the most important ddl statements in sql are?
What are the types of join and explain each?
define sql delete statement ? : Sql dba
Is coalesce faster than isnull?
Is sql a microsoft product?
What is a temporal table?
How to pronounce postgresql?
how to create a new table by selecting rows from another table in mysql? : Sql dba
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
What is the use of & in pl sql?
What does the sign mean in sql?
How many joins in sql?
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
Explain the advantages and disadvantages of stored procedure?
how to concatenate two character strings? : Sql dba