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

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / malli

select max(sal) from emp where sal<(select max(sal) from emp);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are the different types of indexes in sql?

990


How sql query is executed?

1064


What are triggers and its types?

995


What is procedure and function in sql?

927


What is secondary key?

880


who introduced sql?

947


What do you mean by “trigger” in sql?

1015


When is the explicit cursor used ?

977


What is the difference between python and sql?

937


What is the difference between truncate and drop statements?

1083


how can we destroy the session, how can we unset the variable of a session? : Sql dba

932


What is Histogram?

1503


what is dbms? : Sql dba

931


How to add a column ‘salary’ to a table employee_details?

953


Explain two easy sql optimizations.

959