how to find the second highest salary from emp table?

Answer Posted / sarojkant

select max(salary ) from emp table where sal<(select max
(salary)from emp table)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bind reference and how can it be created?

582


What is structural independence and why is it important?

551


How is sql used in oracle?

585


Name some usages of database trigger?

566


Is left join same as inner join?

543






How can we store rows in PL/SQL using array?

670


Which one is better sql or oracle?

506


Does group by remove duplicates?

557


Why are cursors used?

585


How do sql triggers work?

556


How do I view a procedure in sql?

553


Where is pl sql used?

523


how to use myisamchk to check or repair myisam tables? : Sql dba

512


How do you remove duplicates without using distinct in sql?

508


What are the three forms of normalization?

537