|
|
楼主

楼主 |
发表于 2010-3-30 23:29:47
|
只看该作者
求助
以前没有学过SAS,拜托懂的人教下,比如我的SQL语言:
select city,sum(employee.salary),sum(space),count(city),count(employee.salary),max(employee.salary)
from store inner join employee
on
store.store_id=employee.store_id
group by city;
这个查询语句用SAS表现出来是怎么写的?我这么写对不对:
proc sql;
create table kids3 as
select city,sum(employee.salary),sum(space),count(city),count(employee.salary),max(employee.salary)
from store inner join employee
on
store.store_id=employee.store_id
group by city;
quit;
proc print data=kids3 noobs;
run;
对不对…… 这个是我在网上找的……然后自己乱加上去的…… |
|