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...

Write a query to find second highest salary of an employee.

Answer Posted / vamana murthy

select ename,salary from emp
where rownum=2
order by salary desc

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of desc in sql?

984


What is the difference between nested table and varray?

1016


How do I run sql profiler?

1077


What are three advantages to using sql?

1027


What does pragma mean?

1063


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?

2287


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1019


Why commit is not used in triggers?

1049


how many sql dml commands are supported by 'mysql'? : Sql dba

1128


how to check myisam tables for errors? : Sql dba

1325


What is a clob in sql?

1027


How many indexes can be created on a table in sql?

1064


How to write pl sql program in mysql command prompt?

1104


how can we find the number of rows in a table using mysql? : Sql dba

1092


What is the use of <> sql?

985