摘要:
SELECT SUM(case when ml_WinMoney>0 then ml_WinMoney else 0 end) NUM,SUM(case when ml_WinMoney<0 then ml_WinMoney else 0 end),SUM(ml_winmoney),COUNT(DISTINCT UID) FROM dbo.M_T_WinMoney_List WHERE DATEDIFF(D,ML_ADDTIME,GETDATE())<1 ORDER BY NUM DESC 阅读全文
posted @ 2011-06-16 16:48
放逐忧伤
阅读(155)
评论(0)
推荐(0)
浙公网安备 33010602011771号