SAS中文论坛

标题: where also的作用? [打印本页]

作者: shiyiming    时间: 2004-9-15 17:27
标题: where also的作用?
详见下面。谢谢。

1,
proc freq data=perm.all;
where begin_date between '01jan2001'd and '31dec2001'd;
table location;
where course_code='C003';
run;

output:
Location
Location Frequency Percent
Boston 20 40.00
Seattle 30 60.00


2,
proc freq data=perm.all;
where begin_date between '01jan2001'd and '31dec2001'd;
table location;
where also course_code='C003';
run;

Location
Location Frequency Percent
Boston 20 27.03
Dallas 24 32.43
Seattle 30 40.54




欢迎光临 SAS中文论坛 (http://mysas.net/forum/) Powered by Discuz! X3.2