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
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3