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

Can we use where and having clauses in a single SAS program.

ex: proc sql;
    select a,b,c from test
     where state in 'KA'
     and having <some condition>.

Is the above program run correctly, if not why ?
    

Answer Posted / rajasekaran

having statement should mentioned after group by statement only

proc sql;
select a,b,c from test
where state in 'KA'
group by xyz
and having <some condition>.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to limit decimal places for variable using proc means?

1044


What is PROC in SAS?

1000


Are you involved in writing the inferential analysis plan? Tables specfications?

2172


Explain the use of proc print and proc contents?

905


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2035


What is the basic structure of the SAS base program?

1229


What are the advantages of using sas?

1093


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

968


what is the primary data source for the wrs? : Sas-bi

1135


Describe a time when you were really stuck on a problem and how you solved it?

2578


what are several options for creating reports in web report studio? : Sas-bi

1076


what is sas business intelligence? : Sas-bi

1092


List out some key concept of SAS

1043


How can you limit the variables written to output dataset in data step?

1247


What are the uses of sas?

1166