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 / abhijeet banarse

Select level,Max(sal) from emp1
Where level=&level connect by prior sal>sal
group by level;
Enter the level No=2 (Here enter 2 manually)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between null value, zero, and blank space?

1139


Which constraints we can use while creating database in sql?

1018


When can we use the where clause and the having clause?

968


who introduced sql?

950


What are the two characteristics of a primary key?

926


What is sqlite used for?

935


what is the difference between rownum pseudo column and row_number() function? : Sql dba

1021


What is pivot in sql?

873


What is sql injection vulnerability?

872


How can triggers be used for the table auditing?

1011


What is the difference between instead of trigger and after trigger?

949


How do you update a value in sql?

988


What is the difference between python and sql?

940


List the different type of joins?

1003


How to get unique records from a table?

898