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 do you pull data from equifax?tell me the process?

1836


How are numeric and character missing values represented internally?

1714


What are the ways in which macro variables can be created in sas programming?

1175


Why and when do you use proc sql?

1288


do you need to know if there are any missing values? : Sas programming

1126


What is the purpose of _character_ and _numeric_?

1108


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4627


Difference between informat and format?

1145


Describe the function and untility of the most difficult SAS macro that you have written.

2167


What sas features do you use to check errors and data validation?

1267


what are sas/access and sas/connect? : Sas programming

1039


What are common programming errors committed in sas

1187


how does sas handle missing values in assignment statements? : Sas programming

1072


What are the data types in sas?

1116


Compare sas with other data analytics tools.

1097