主题 : 想问下网站底部的PV是怎么统计的? |
级别: 举人
![]() |
1# 发表于:2016-05-18 09:59:35 IP:121.227.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
![]() |
3# 发表于:2016-05-18 10:21:12 IP:121.227.*.*
![]() |
||
---|---|---|---|
级别: 版主
![]() |
4# 发表于:2016-05-18 10:21:56 IP:220.65.*.*
这个好像只统计首页的,jc_site_access_statistic这个是根据时间统计
|
||
---|---|---|---|
级别: 举人
![]() |
5# 发表于:2016-05-18 10:36:42 IP:121.227.*.*
![]() |
||
---|---|---|---|
级别: 举人
![]() |
7# 发表于:2016-05-18 11:20:07 IP:121.227.*.*
回复第6楼
select sum(t.pv) from jc_site_access_statistic t where t.site_id = 1 and t.statisitc_type = 'all' and to_char(t.statistic_date,'yyyy') = '2016'; select sum(t.pv) from jc_site_access_statistic t where t.site_id = 1 and t.statisitc_type not in('all') and to_char(t.statistic_date,'yyyy') = '2016'; ![]() |
||
---|---|---|---|