您好,欢迎访问一九零五行业门户网

OSC 内部员工在网站上的活跃统计(考核)

该sql用于每月统计所有osc员工在oschina网站上的活跃天数,作为每月的考核指标之一。 oschina select u.name, extract(year_month from create_time) ym, count(distinct day(create_time)) `count` from osc_opt_logs o, osc_users u where o. user = u.id a
该 sql 用于每月统计所有 osc 员工在 oschina 网站上的活跃天数,作为每月的考核指标之一。 oschina select u.name, extract(year_month from create_time) ym, count(distinct day(create_time)) `count` from osc_opt_logs o, osc_users u where o. user = u.id and u.id in ( xxx , xxx, xxx, xxx, xxx) and ( date_sub(curdate(), interval 1 month) <= o.create_time ) group by user, ym order by ym desc, `count` desc;
其它类似信息

推荐信息