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 find the second highest salary from emp table?

Answer Posted / prashanth

select max(sal) from employee where sal<(select max(sal)
from employee)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql lookup?

865


Can I join the same table twice?

996


Is sqlite good enough for production?

950


Does oracle roll back the transaction on an error?

963


Can we insert in sql function?

1027


What do you mean by field in sql?

1037


what are the differences between binary and varbinary? : Sql dba

978


What port does sql server use?

988


what is rdbms? : Sql dba

962


If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????

3946


Compare sql & pl/sql

1049


How does a self join work?

994


does sql support programming? : Sql dba

993


In what condition is it good to disable a trigger?

971


What are the qualities of 2nf?

975