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 / pankaj raj patel

select max(salary ) from emp table where sal<(select max
(salary)from emp table)

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 normalisation and its types?

1045


What are variables in pl sql?

1235


Advantages and disadvantages of stored procedure?

1169


How do I find duplicates in two columns?

1268


How many types of triggers are there in pl sql?

1120


Why use subqueries instead of joins?

1138


How can get second highest salary in sql?

1028


What is sequence in sql?

1078


How to avoid duplicate records in a query?

1055


Can we update views in sql?

990


What is where clause in sql?

1088


What is the difference between execution of triggers and stored procedures?

1158


What does count (*) mean?

986


What is db journal file?

1157


Why stored procedure is faster than query?

1158