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 / vikas naik

select max(sal) from employee where sal not in(select
max(sal) from employee);

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of merge statement?

1038


What is clustered index sql?

988


Explain the working of primary key?

1099


what is top in tsql? : Transact sql

1123


What is sql lookup?

925


Mention what problem one might face while writing log information to a data-base table in pl/sql?

1237


How do you write an index?

971


What is union and union all keyword in sql?

1044


How do you delete duplicates in sql query using rowid?

949


How do I count duplicates in sql?

1113


How do I view a view in sql?

955


Can we insert data into view?

907


List the ways to get the count of records in a table?

900


what is 'mysqld'? : Sql dba

974


How can I change database name in sql?

1087