会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sunshine静的blog
博客园
首页
新随笔
联系
管理
2016年2月2日
SQL 行转列
摘要: 1. 利用 case when then 1 select DeptId,d.DepName, sum(case [Type] when 0 then CountVisit end) as 'NewsType',sum (case [Type] when 1 then CountVisit end)
阅读全文
posted @ 2016-02-02 13:19 sunshine静
阅读(257)
评论(0)
推荐(0)
编辑
公告