【sas sql proc】where or having
摘要:
having作用类似于where区别在于where在group by之前执行;having作用于group by。1 proc sql;2 select sum(cmcc_fee) as sumfee,product_name,port3 from &groupset4 group by product_name,port5 having count(port)>2;6 quit; 阅读全文
posted @ 2013-03-01 12:04 colipso 阅读(1653) 评论(0) 推荐(0) 编辑