how to get second highest salary in SQL(as/4000
Answer Posted / sachin bhalsinge
select * from (select salary from employees order by salary
desc)where rownum=2;
| Is This Answer Correct ? | 5 Yes | 11 No |
Post New Answer View All Answers
Can a commit statement be executed as part of a trigger?
what is 'mysqlshow'? : Sql dba
Can we join more than 2 tables in sql?
what is 'trigger' in sql? : Sql dba
How do I view tables in mysql?
What is sql rowcount?
How do I get sql certification?
Is pl sql a programming language?
Can you load data into multiple tables at once? : aql loader
What is delete command in sql?
How many sql statements are used? Define them.
What are inner and outer joins examples of both?
Why do we use partitions 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 ?
Which is faster joins or subqueries?