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...

how to get second highest salary in SQL(as/4000

Answer Posted / c srirammulu

select * from emp a where &n=(select count(distinct (sal))
from emp f where a.sal<f.sal)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql character function?

1097


Explain clause in sql?

1036


How are functions and procedures called in PL/SQL?

1241


what is the difference between join and union? : Sql dba

1122


what is normalization? : Sql dba

1091


What is Histogram?

1564


What is database sql?

1059


What are user defined functions?

1024


How do you rename a table in sql?

1123


What is the use of sqldataadapter?

981


what are the disadvantages of mysql? : Sql dba

1151


Is record in pl sql?

984


What is a common use of group by in sql?

1053


What are the operators in sql?

1036


What are views in sql?

995