关于SQL一个小问题 select isnull(sum(value), 0) as valuefrom aawhere dt between '2006-06-01 00:00:00' and '2006-06-01 23:59:59' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select case when dt='2006-5-31' then 5 else when dt='2006-6-1' then 6 else 0 end as valuefrom aaa Select IsNull(SUM(value),0) As value From aaa Where dt Between '2006-05-01' And '2006-06-01' select sum(case when dt='2006-5-31' then 5 when dt='2006-6-1' then 6 else 0 end) as valuefrom aaa reporting services 应用程序错误 该内存不能为 written 怎样写查询语句 ********************请教关于链接服务器的问题*************** 求函数? 真的晕了,关于SQL server2005的....... 关于数据库备份方式的问题 备份与恢复(允许同名) 程序中怎么写?急!! 一句话查询 内联接和外联接有什么区别啊? oracle图书 在線等﹐如何用SQL訪問oracle數據 select问题 大家帮想想怎么实现。。。。。。
when dt='2006-6-1' then 6 else 0 end as value
from aaa
when dt='2006-6-1' then 6 else 0 end) as value
from aaa