【sas sql proc】case end
摘要:
在sql中增加case可以增加数据处理的灵活性,注意结尾的end 1 proc sql outobs=10; 2 title 'this is an example of sql and case'; 3 select wangnei,date, 4 case 5 when 200901<=date<=200903 then 'first' 6 when 200904<=date<=200906 then 'second' 7 else 'else' 8 en... 阅读全文
posted @ 2013-02-18 22:14 colipso 阅读(2061) 评论(0) 推荐(0) 编辑