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 / mona thakur

SELECT *
FROM emp
WHERE salary < (
SELECT max( salary )
FROM emp )
ORDER BY salary DESC
LIMIT 1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three pl sql block types?

1017


What is sql and explain its components?

1078


What is a sql profiler?

1035


How does one use sql*loader to load images, sound clips and documents? : aql loader

1197


What is a mutating table and a constraining table?

1123


Explain the the delete statements in sql?

1078


What is oracle sql developer?

1076


Can you have a foreign key without a primary key?

963


What are different types of functions in sql?

1014


What are different types of keys?

1116


what is a stored procedure? : Sql dba

1147


How to raise user-defined exception with custom sqlerrm ?

1141


Does postgresql run on the cloud?

1158


How many types of normalization are there?

975


What is a record in a database?

1073