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 / nitin

select max(salary) from emp where salary<>(select
max(salary) from emp);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to create startup or shutdown trigger for on-schema?

981


What is a variable in sql?

953


What is set serveroutput on?

1088


Can dml statements be used in pl/sql?

1021


What is example of database?

987


How do you optimize a stored procedure query?

939


Can we use two order by clause in query?

919


What is difference between table and view?

979


What are the most important ddl statements in sql?

1027


How would you reference column values before and after you have inserted and deleted triggers?

1021


How many types of indexes are there in sql?

935


How do you remove duplicates without using distinct in sql?

921


what are the different type of normalization? : Sql dba

974


what are all different types of collation sensitivity? : Sql dba

932


How do I find sql profiler?

886