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 2nd highest salary in random database salary of employer.....

Answer Posted / pankajbisane

select emp_name, salary from employee where salary = (select MAX(salary) from employee
WHERE salary <> (select MAX(salary) from employee ))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are assigned a task, to find the information of procedures. What are the basic commands that you will use to do so?

943


What is use command in mysql?

1040


What is unsigned int in mysql?

926


What does mysql workbench do?

862


What is the use of mysqli_query?

884


What is save point in mysql?

957


What is 'mysqlshow'?

1059


What is limit in mysql?

865


Is mysql owned by oracle?

1015


Consider a scenario where you have two to three tables with thousand tuples in each of them. Now, if you have to perform a join operation between them will you choose to perform filtering of rows or transforming of rows first.

993


What is a data directory?

939


How to get a version of mysql?

1044


Differentiate CHAR_LENGTH and LENGTH?

996


What is the difference between a heap table and temporary table?

939


How to allow the user "sonia" to connect to the server from localhost using the password "passwd". Login as root. Switch to the mysql db. Give privs. Update privs.

1062