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 / ankit khanijau

Select salary from emp
where MAX(Select salary from emp where salary != MAX(salary))

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ttitle and btitle.

1124


What is foreign key and example?

942


How many triggers can be applied to a table?

1069


What are the two parts of design view?

1020


How do you bind variables in pl sql?

1104


What language is oracle sql developer?

1024


how many ways to get the current time? : Sql dba

1012


Explain the difference in execution of triggers and stored procedures?

1024


What is cursor and why it is required?

1185


how to use case expression? : Sql dba

1031


How do I know if I have sql express or standard?

1038


Does sql use python?

1039


How is sql used in oracle?

1012


What are the key differences between SQL and PL SQL?

1220


Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?

2284