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 get second highest salary from a employee table and
how get a 5th highest salary from a employee table?

Answer Posted / beneet kumar pandey

/*second highest salary*/
first select max sal from employee table then select second
max sal from employee table.

Select max(salary) less then(select max(salary) from
employee) from employee;

/*same condition for fifth highest salary*/

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you invoke a macro? : sas-macro

1042


What does the trace option do?

1054


explain what is factor analysis? : Sas-administrator

1042


which date functions advances a date time or date/time value by a given interval? : Sas programming

902


Name some categories in sas 9? : sas-grid-administration

915


Name types of category in which SAS Informats are placed?

1088


Explain bmdp procedure?

985


Which function is used to count the number of intervals between two sas dates?

1066


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

1348


How does the internal authentication work in sas? : sas-grid-administration

1066


which features do you use to check the data validations and errors? : Sas-administrator

1000


If a variable contains letters or special characters, can it be numeric data type?

1160


What is the basic structure of the SAS base program?

1229


What does the RUN statement do?

1256


What are the special input delimiters used in SAS?

1100