摘要:
客户提出要登录系统的活跃用户,定义如下:an active definition can be one that at least download 5 times in a week. 构思如下:1.首先要循环每个7天的时间段2.找出时间段内登陆超过5次的3.循环插入临时表4.在临时表里group by 统计用户--创建临时表开始if exists (select * from dbo.syso... 阅读全文
posted @ 2009-09-07 17:04
Cheney Hao
阅读(221)
评论(0)
推荐(0)
浙公网安备 33010602011771号