write a query for the fifth highest salary?

Answer Posted / suparna

select salary from employee e where 4=(select count(*) from
emp f where e.sal<f.sal)

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using database?

549


What is a Transformation?

562


What is difference between server and database?

570


Explain transaction manager?

619


query to Compare data of two tables between two different Databases(Oracle and SQL Server) Eg., Source Database: Oracle Table: Employee Target Database : SQL Server Table : emp

1639






WHAT KIND OF TOOL BO IS?

1844


give a simple example of physical and logical data independence

2101


Explain alternate key?

651


What is the use of default key?

629


Two tables emp(empid,name,deptid,sal) and dept(deptid,deptname) are there.write a query which displays empname,corresponding deptname also display those employee names who donot belong to any dept.

1386


Explain the various types of normalization.

644


what is data access layer?

1982


How do you pass parameter in stored procedure?

733


How to produce such kind of file?

632


What is the purpose of firebase?

550