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

find highest salary

Answer Posted / qadeer

SELECT DISTINCT (
s1.salary
)
FROM `salary` s1
WHERE n -1 = (
SELECT count( DISTINCT (
s2.salary
) )
FROM `salary` s2
WHERE s2.salary > s1.salary )

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does php pass arrays by reference?

1106


Tell me what does the scope of variables means?

945


Is php a framework?

963


What is the tags in PHP is not a valid way to begin and end a PHP code block?

1236


What is slim framework?

967


What is exception handling in php?

1608


Can I run php without xampp?

1013


How do I see how many pages per session in google analytics?

1007


How to remove blank spaces from the string?

1016


Tell me what is use of in_array() function in php?

1105


What is difference between strstr() and stristr()?

1080


Which function would you use to read a line of data from a file in php?

1029


How does php serialize work?

1037


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

1004


What is the difference between runtime exception and compile time exception?

1110