| Creating List Reports |
| Selecting
Observations |
| Operator | Meaning |
| and, both. If both expressions are true, then the compound expression is true. | |
| OR | | or, either. If either expression is true, then the compound expression is true. |
Examples of WHERE Statements
where age<=55 and pulse>75;
where area='A' or region='S';
where ID>1050 and state='NC';
where actlevel='LOW' or actlevel='MOD';
where fee=124.80 or fee=178.20;
where actlevel in ('LOW','MOD');
where fee in (124.80,178.20);
where (age<=55 and pulse>75) or area='A';
where age<=55 and (pulse>75 or area='A');
|
![]() ![]() |
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.