最近24小时记录

SELECT
   channelid AS name,
   count(uid) AS value
FROM
   rc_user_info
WHERE
   addtime >= (NOW() - INTERVAL 24 HOUR)
GROUP BY
   channelid

 

posted @ 2017-05-16 10:04  Xiao|Deng  阅读(151)  评论(0编辑  收藏  举报