string sql2 = "select userid,count(*) as iCount from history where [color=#333399]loginDate >= GETDATE()-7 group by userid";[/color]
蓝色语句的意思! 谢谢