日期:2014-05-17 浏览次数:20450 次
SELECT ip,count(ip) as a
FROM [WZll].[dbo].[CnzzContent17] as main
where dtime between '2013-01-10 00:00:00' and '2013-01-17 23:59:59'
and lzi like '%baidu%'
and Zluye like '%?%'
group by ip
order by a desc
SELECT ip,count(ip) as a
FROM [WZll].[dbo].[CnzzContent17] as main
where dtime between '2013-01-10 00:00:00' and '2013-01-17 23:59:59' and lzi like '%baidu%' and Zluye like '%?%'
group by ip HAVING COUNT(IP)>=8
order by a desc