Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

find the third highest salary?

Answer Posted / srinath reddy

select * from emp e1 where 3 = (select count(*) from emp e2
where e1.salary <= e2.salary);

instead of answer we can say this as a solution where we can
find nth also

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a sql query to find the names of employees that begin with ‘a’?

1057


What are the query optimization techniques?

1000


What is a heap in sql?

1146


Is a foreign key always unique?

982


What is clause in sql?

1178


What is auto increment feature in sql?

1174


Can we use update in sql function?

1116


What's the difference between inner join and left join?

1041


what is sub-query? : Transact sql

1161


What are the types of variable use in pl sql?

1138


Where is sql database stored?

1039


How to run sql commands in sql*plus?

1255


what is a relationship and what are they? : Sql dba

1165


Explain scalar functions in sql?

1105


What is an oracle stored procedure?

1115