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 / monika

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

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of double ampersand (&&) in sql queries? Give an example

1139


What is a dirty read sql?

1139


What are sql functions? Describe in brief different types of sql functions?

1104


What is sqlite format?

1199


define data blocks ? : Sql dba

1000


Why do we use joins?

1039


What is a sql profiler?

1028


How do you update a table in sql?

990


What is the purpose of the partition table?

1049


Will truncate release space?

950


Is it possible to create the following trigger: before or after update trigger for each row?

1286


What is the difference between nvl function, ifnull function, and isnull function?

1113


Explain clause in sql?

1032


What is a dynamic query?

1023


Can we join same table in sql?

1022