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 / santhosh

worng

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the statements that are executed only?

663


What is the use of divide function?

589


explain the key concept of sas? : Sas-administrator

552


What commands are used in the case of including or excluding any specific variables in the data set?

581


If a variable contains only numbers, can it be a character data type?

604






what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

644


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

736


what is hierarchy flattening? : Sas-di

612


Explain what is the use of proc gplot?

692


Difference between nodup and nodupkey options?

626


AE datasets names? how many types?

2069


Explain substr function?

569


what are some differences between proc summary and proc means? : Sas programming

501


how do the in= variables improve the capability of a merge? : Sas programming

924


What’s the difference between var b1 – b3 and var b1 — b3?

814