how to find the second highest salary from emp table?

Answer Posted / pramod sharma

select f_name max(salary)from emp,dep
where salary<(select max(salary)from emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

536


Explain the the update statement in sql?

562


What are the types of variables use in pl sql?

496


What are joins in sql?

530


what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba

519






What is the use of index in sql?

545


Explain the update statement in sql

556


what is rollback? : Sql dba

584


What are the different schemas objects that can be created using pl/sql?

519


Is a secondary key the same as a foreign key?

486


what is the command line end user interface - mysql? : Sql dba

496


how to check myisam tables for errors? : Sql dba

588


How to select unique records from a table?

563


What is sql trigger example?

530


Is null operator in sql?

598