how to find the second highest salary from emp table?

Answer Posted / hima

select sal from emp order by salary desc limit 1,1

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 sql and db2?

526


How you improve the performance of sql*loader? : aql loader

570


State some properties of relational databases?

572


What is cursor and why it is required?

546


What is the location of pre_defined_functions.

637






What is self-join and what is the requirement of self-join?

624


Why left join is used in sql?

512


What are the two parts of design view?

573


What is #table in sql?

513


Which command is used to call a stored procedure?

489


Why do we use function in pl sql?

553


how to rename an existing table in mysql? : Sql dba

566


Can we use ddl statements in stored procedure sql server?

507


What are the two virtual tables available at the time of database trigger execution?

626


How do I filter in sql profiler?

528