proc sql;
create table addcnt as
select *,count(routeno) as cnt
from a b
group by routeno;
quit;
跪求高手指教。。。。。。。。作者: shiyiming 时间: 2006-7-31 19:34 标题: 大 不明白你的意思啊作者: shiyiming 时间: 2006-7-31 22:24 标题: RE: I think lxlinxu attempt to join A and B, then count 道路编号.
[code:bb473]proc sql;
create table addcnt as
select *, count(routeno) as cnt
from a , b
group by routeno
having a.a_route =b.routeno;
quit;
[/code:bb473]作者: shiyiming 时间: 2006-7-31 22:49 标题: 想统计每段弯道上车祸的频率并生成新的数据集C 如何统计两个数据集中某个变量出现的频率,并生成新的数据集 例如,