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 / shankar panda

SELECT DISTINCT(E.SALARY) FROM EMPLOYEES E WHERE 2=(SELECT COUNT(DISTINCT D.SALARY) FROM EMPLOYEE D WHERE D.SALARY >= E.SALARY)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between undefined value and null value? : Sql dba

1098


Name the different types of indexes in sql and define them.

1147


How do you pronounce sql?

1005


how to shut down the server with 'mysqladmin'? : Sql dba

1007


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

948


What is the use of double ampersand (&&) in sql queries? Give an example

1139


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

969


What is sql dialect?

1113


How can I delete duplicate rows?

1012


How do I run a sql query?

1013


What are instead of triggers?

1041


what are local and global variables and their differences? : Sql dba

1070


Can a foreign key be a duplicate?

906


What does rownum mean in sql?

1018


What is cartesian join in sql?

1117